mirror of
https://github.com/nlohmann/json.git
synced 2026-10-08 23:47:13 +00:00
try to understand re2c
This commit is contained in:
1 parent
c1bf002522
commit
cb96e30f25
1 file changed
+5
@@ -4181,4 +4181,9 @@ TEST_CASE("parser class")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SECTION("parse errors")
|
||||
{
|
||||
CHECK_THROWS_AS(json::parser("-,").parse(), std::invalid_argument);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user