diff --git a/test/core-test.cc b/test/core-test.cc index ff868e14..c489f550 100644 --- a/test/core-test.cc +++ b/test/core-test.cc @@ -433,16 +433,12 @@ TEST(StringViewTest, Compare) { } enum basic_enum {}; +enum enum_with_underlying_type : char {}; TEST(CoreTest, ConvertToInt) { EXPECT_FALSE((fmt::convert_to_int::value)); EXPECT_FALSE((fmt::convert_to_int::value)); EXPECT_TRUE((fmt::convert_to_int::value)); -} - -enum enum_with_underlying_type : char {}; - -TEST(CoreTest, IsEnumConvertibleToInt) { EXPECT_TRUE((fmt::convert_to_int::value)); }