1
0
mirror of https://github.com/nlohmann/json synced 2024-11-10 06:20:06 +00:00

valgrind still makes problems

This commit is contained in:
Niels 2015-05-06 21:32:41 +02:00
parent b67b13c29e
commit 9f9d293bad
5 changed files with 6 additions and 2 deletions

1
test/error/fail06.json Normal file
View File

@ -0,0 +1 @@
[ , "<-- missing value"]

1
test/error/fail25.json Normal file
View File

@ -0,0 +1 @@
[" tab character in string "]

2
test/error/fail27.json Normal file
View File

@ -0,0 +1,2 @@
["line
break"]

2
test/error/fail28.json Normal file
View File

@ -0,0 +1,2 @@
["line\
break"]

View File

@ -8456,13 +8456,11 @@ TEST_CASE("regression tests")
SECTION("NAN value")
{
CHECK(json(NAN) == json());
CHECK(json(static_cast<long double>(NAN)) == json());
}
SECTION("infinity")
{
CHECK(json(INFINITY) == json());
CHECK(json(static_cast<long double>(INFINITY)) == json());
}
}
}