forked from bblanchon/ArduinoJson
Fixed errors with Variable Length Arrays (issue #416)
This commit is contained in:
@@ -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