diff options
Diffstat (limited to 'src/mongo/base/parse_number_test.cpp')
| -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 } |
