diff options
| author | Phil Nash | 2019-04-21 19:56:19 +0300 |
|---|---|---|
| committer | Phil Nash | 2019-04-21 20:09:58 +0300 |
| commit | 5a74fcc9c9c4f19c410f38070cefb11576df7386 (patch) | |
| tree | 6afd45e4960d95f2e38c0cd651c46013b7969647 /projects/SelfTest/UsageTests/EnumToString.tests.cpp | |
| parent | 9d5d71986831d044527fe987ed8c41a4f69a3eea (diff) | |
| download | catch3-5a74fcc9c9c4f19c410f38070cefb11576df7386.tar.gz | |
Removed IEnumInfo (just use EnumInfo directly)
Diffstat (limited to 'projects/SelfTest/UsageTests/EnumToString.tests.cpp')
| -rw-r--r-- | projects/SelfTest/UsageTests/EnumToString.tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/SelfTest/UsageTests/EnumToString.tests.cpp b/projects/SelfTest/UsageTests/EnumToString.tests.cpp index bdd36315..f3fd2f6d 100644 --- a/projects/SelfTest/UsageTests/EnumToString.tests.cpp +++ b/projects/SelfTest/UsageTests/EnumToString.tests.cpp @@ -75,7 +75,7 @@ TEST_CASE( "STRINGIFY_ENUM" ) { REQUIRE( stringify( EnumClass3::Value1 ) == "Value1" ); REQUIRE( stringify( EnumClass3::Value2 ) == "Value2" ); REQUIRE( stringify( EnumClass3::Value3 ) == "Value3" ); - REQUIRE( stringify( EnumClass3::Value4 ) == "{** unexpected value for EnumClass3: 3**}" ); + REQUIRE( stringify( EnumClass3::Value4 ) == "{** unexpected enum value **}" ); EnumClass3 ec3 = EnumClass3 ::Value2; REQUIRE( stringify( ec3 ) == "Value2" ); @@ -91,7 +91,7 @@ TEST_CASE( "EnumInfo" ) { CHECK( enumInfo.lookup(0) == "Value1" ); CHECK( enumInfo.lookup(1) == "Value2" ); - CHECK( enumInfo.lookup(3) == "{** unexpected value for EnumName: 3**}" ); + CHECK( enumInfo.lookup(3) == "{** unexpected enum value **}" ); } #include "internal/catch_enum_values_registry.h" |