Fix #289 negative zero roundtrip (double only)

This commit is contained in:
Milo Yip
2015-04-10 21:24:29 +08:00
parent 79e81fe36f
commit e5cf3b85f3
3 changed files with 8 additions and 1 deletions

View File

@@ -93,7 +93,7 @@ TEST(Writer, String) {
TEST(Writer, Double) {
TEST_ROUNDTRIP("[1.2345,1.2345678,0.123456789012,1234567.8]");
TEST_ROUNDTRIP("[-0.0]"); // Issue #289
}
TEST(Writer, Transcode) {