forked from bblanchon/ArduinoJson
Fixed errors with Variable Length Arrays (issue #416)
This commit is contained in:
1 parent
11432253a1
commit
8499f0b960
15 files changed
+822
-165
No files matched your search
@@ -15,3 +15,9 @@ TEST(StdStream, IsBaseOf) {
|
||||
ASSERT_FALSE((IsBaseOf<std::istream, std::ostringstream>::value));
|
||||
ASSERT_TRUE((IsBaseOf<std::istream, std::istringstream>::value));
|
||||
}
|
||||
|
||||
TEST(StdStream, IsArray) {
|
||||
ASSERT_FALSE((IsArray<const char*>::value));
|
||||
ASSERT_TRUE((IsArray<const char[]>::value));
|
||||
ASSERT_TRUE((IsArray<const char[10]>::value));
|
||||
}
|
||||
Reference in new issue
Block a user