mirror of
https://github.com/nlohmann/json.git
synced 2026-03-07 01:31:25 +00:00
✅ added Big List of Naughty Strings
This commit is contained in:
@@ -815,3 +815,14 @@ TEST_CASE("nst's JSONTestSuite")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("Big List of Naughty Strings")
|
||||
{
|
||||
// test from https://github.com/minimaxir/big-list-of-naughty-strings
|
||||
SECTION("blns.json")
|
||||
{
|
||||
std::ifstream f("test/data/big-list-of-naughty-strings/blns.json");
|
||||
json j;
|
||||
CHECK_NOTHROW(j << f);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user