Skip to content

Commit

Permalink
valgrind still makes problems
Browse files Browse the repository at this point in the history
  • Loading branch information
nlohmann committed May 6, 2015
1 parent b67b13c commit 9f9d293
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions test/error/fail06.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[ , "<-- missing value"]
1 change: 1 addition & 0 deletions test/error/fail25.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[" tab character in string "]
2 changes: 2 additions & 0 deletions test/error/fail27.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
["line
break"]
2 changes: 2 additions & 0 deletions test/error/fail28.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
["line\
break"]
2 changes: 0 additions & 2 deletions test/unit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}
}

0 comments on commit 9f9d293

Please sign in to comment.