mirror of
https://github.com/nlohmann/json.git
synced 2026-10-13 01:47:11 +00:00
fixes #310
This commit is contained in:
1 parent
7b6cba23f3
commit
6bbcdc1ec5
7 files changed
+3000025
-3
No files matched your search
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -466,4 +466,20 @@ TEST_CASE("regression tests")
|
||||
CHECK_NOTHROW(j << f);
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("issue #310 - make json_benchmarks no longer working in 2.0.4")
|
||||
{
|
||||
for (auto filename :
|
||||
{
|
||||
"test/data/regression/floats.json",
|
||||
"test/data/regression/signed_ints.json",
|
||||
"test/data/regression/unsigned_ints.json"
|
||||
})
|
||||
{
|
||||
CAPTURE(filename);
|
||||
json j;
|
||||
std::ifstream f(filename);
|
||||
CHECK_NOTHROW(j << f);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user