1
0
mirror of https://github.com/nlohmann/json.git synced 2025-08-09 05:22:48 +03:00

try to understand re2c

This commit is contained in:
Niels
2015-02-11 12:21:46 +01:00
parent c1bf002522
commit cb96e30f25

View File

@@ -4181,4 +4181,9 @@ TEST_CASE("parser class")
} }
} }
} }
SECTION("parse errors")
{
CHECK_THROWS_AS(json::parser("-,").parse(), std::invalid_argument);
}
} }