Fix support for const char[]

Fixes #2166
This commit is contained in:
Benoit Blanchon
2025-04-09 08:55:09 +02:00
parent 91397f9f06
commit f0e84e4933
5 changed files with 35 additions and 0 deletions
+1
View File
@@ -128,6 +128,7 @@ TEST_CASE("IsString<T>") {
CHECK(IsString<const __FlashStringHelper*>::value == true);
CHECK(IsString<const char*>::value == true);
CHECK(IsString<const char[8]>::value == true);
CHECK(IsString<const char[]>::value == true);
CHECK(IsString<::String>::value == true);
CHECK(IsString<::StringSumHelper>::value == true);
CHECK(IsString<const EmptyStruct*>::value == false);