Merge branch 'develop' of https://github.com/nlohmann/json into develop

This commit is contained in:
Niels Lohmann 2018-09-29 11:48:52 +02:00
commit b59a58406e
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -1346,13 +1346,11 @@ TEST_CASE("Big List of Naughty Strings")
SECTION("roundtripping")
{
std::ifstream f("test/data/big-list-of-naughty-strings/blns.json");
while (not f.eof())
{
// read line
std::string line;
getline(f, line);
// read lines one by one, bail out on error or eof
while (getline(f, line))
{
// trim whitespace
line = trim(line);