update test
This commit is contained in:
parent
64651133ea
commit
f69edb9224
1 changed files with 2 additions and 2 deletions
|
@ -237,7 +237,7 @@ TEST_CASE("NAMEOF_ENUM") {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("nameof::nameof_enum(value)") {
|
TEST_CASE("nameof::nameof_enum<T>(value)") {
|
||||||
Color color_ = Color::BLUE;
|
Color color_ = Color::BLUE;
|
||||||
Color m[3] = {Color::RED, Color::GREEN, Color::BLUE};
|
Color m[3] = {Color::RED, Color::GREEN, Color::BLUE};
|
||||||
#if defined(__clang__) || defined(_MSC_VER)
|
#if defined(__clang__) || defined(_MSC_VER)
|
||||||
|
@ -394,7 +394,7 @@ TEST_CASE("NAMEOF_TYPE_T") {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("nameof::nameof_type()"){
|
TEST_CASE("nameof::nameof_type<T>()"){
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
REQUIRE(nameof::nameof_type<decltype(struct_var)>() == "SomeStruct");
|
REQUIRE(nameof::nameof_type<decltype(struct_var)>() == "SomeStruct");
|
||||||
REQUIRE(nameof::nameof_type<decltype(ptr_s)>() == "SomeStruct *");
|
REQUIRE(nameof::nameof_type<decltype(ptr_s)>() == "SomeStruct *");
|
||||||
|
|
Loading…
Reference in a new issue