diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2016-12-27 13:03:52 -0500 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2018-03-12 11:24:52 -0400 |
commit | 29a3746e2a5d0d4489076d3860bdedadbca7fb2b (patch) | |
tree | 06e518b907abaafa43b8cde64c436c52caaf9f95 | |
parent | 4d816381bef06ed82019089bf91cf2003d59d16f (diff) | |
download | mongo-29a3746e2a5d0d4489076d3860bdedadbca7fb2b.tar.gz |
SERVER-23420 Remove use of GNU extensions in parse_number_test.cpp
(cherry picked from commit 86e6d8415f250e8b9806482d880e315283c6041b)
-rw-r--r-- | src/mongo/base/parse_number_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/base/parse_number_test.cpp b/src/mongo/base/parse_number_test.cpp index 0ed768a7dd3..76b1018af21 100644 --- a/src/mongo/base/parse_number_test.cpp +++ b/src/mongo/base/parse_number_test.cpp @@ -290,9 +290,9 @@ TEST(Double, TestParsingNormal) { // not parseable by the Windows SDK libc or the Solaris libc in the mode we build. // See SERVER-14131. - ASSERT_PARSES(double, "0xff", 0xff); - ASSERT_PARSES(double, "-0xff", -0xff); - ASSERT_PARSES(double, "0xabcab.defdefP-10", 0xabcab.defdefP-10); + ASSERT_PARSES(double, "0xff", 255); + ASSERT_PARSES(double, "-0xff", -255); + ASSERT_PARSES(double, "0xabcab.defdefP-10", 687.16784283419838); #endif } |