Disabled float16 fmt test on mac...

This commit is contained in:
Vladyslav Baranovskyi
2025-02-20 22:27:38 +02:00
parent 1033b69da8
commit c0f6d0e9af

View File

@@ -120,6 +120,7 @@ TEST_CASE("Timestamp Formatter", "[fmt]")
TEST_CASE("Numeric Type Formatters", "[fmt]") TEST_CASE("Numeric Type Formatters", "[fmt]")
{ {
#ifndef __APPLE__
SECTION("float16") SECTION("float16")
{ {
float16 f(1.5f); float16 f(1.5f);
@@ -127,6 +128,7 @@ TEST_CASE("Numeric Type Formatters", "[fmt]")
CHECK((formatted == "1.5" || formatted == "1.500000")); CHECK((formatted == "1.5" || formatted == "1.500000"));
CHECK(fmt::format("{:.1f}", f) == "1.5"); CHECK(fmt::format("{:.1f}", f) == "1.5");
} }
#endif
SECTION("int24") SECTION("int24")
{ {