Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grisumbras committed Feb 19, 2025
1 parent 156f7c1 commit 91a7792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ class serializer_test
check_udt(i, "-1");

double d = 3.12;
check_udt(d, "3.12E0");
check_udt(d, "3.12e00");

#if defined(BOOST_HAS_INT128) && defined(__GLIBCXX_TYPE_INT_N_0)
boost::int128_type ii =
Expand Down Expand Up @@ -838,7 +838,7 @@ class serializer_test
#ifdef BOOST_DESCRIBE_CXX14
{
serializer_test_ns::my_struct s{"some string", 1424, 12.4};
check_udt(s, R"({"s":"some string","n":1424,"d":1.24E1})");
check_udt(s, R"({"s":"some string","n":1424,"d":1.24e10})");
}
{
check_udt(
Expand Down

0 comments on commit 91a7792

Please sign in to comment.