mirror of
https://github.com/nlohmann/json.git
synced 2025-06-21 20:50:50 +08:00
try to understand re2c
This commit is contained in:
parent
c1bf002522
commit
cb96e30f25
@ -4181,4 +4181,9 @@ TEST_CASE("parser class")
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SECTION("parse errors")
|
||||||
|
{
|
||||||
|
CHECK_THROWS_AS(json::parser("-,").parse(), std::invalid_argument);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user