Fixed running tests under Arm.

This commit is contained in:
Alexander Shaduri
2024-05-15 13:42:38 +04:00
parent 0f8c6039ce
commit 6d23e01a82
+1 -1
View File
@@ -191,7 +191,7 @@ TEST_CASE("NumericStrings", "[hz][parser]")
REQUIRE(number_to_string_nolocale(5.F) == "5"); // float
REQUIRE(number_to_string_nolocale(1.33) == "1.33"); // double
REQUIRE(number_to_string_nolocale(2.123456789123456789123456789L) == "2.123456789123456789");
REQUIRE(number_to_string_nolocale(2.123456789123456789123456789L).starts_with("2.1234567891234567") == true);
REQUIRE(number_to_string_nolocale(std::numeric_limits<double>::quiet_NaN()) == "nan");
REQUIRE(number_to_string_nolocale(std::numeric_limits<float>::signaling_NaN()) == "nan");