Skip to content

Commit

Permalink
fix(tests): msvc type-name differences
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Jul 7, 2024
1 parent 5ad1f4f commit d985ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/enum.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ enum class some_enum
// NOLINTNEXTLINE
suite<"enum"> enum_test = []()
{
expect(rebind::type_name<some_enum> == "some_enum");
expect(rebind::type_name<some_enum>.rfind("some_enum") != std::string_view::npos);
expect(rebind::nttp_name<some_enum::a> == "some_enum::a");

expect(rebind::enum_name<some_enum::a> == "a");
Expand Down

0 comments on commit d985ec9

Please sign in to comment.