try to understand re2c
This commit is contained in:
parent
c1bf002522
commit
cb96e30f25
1 changed files with 5 additions and 0 deletions
|
@ -4181,4 +4181,9 @@ TEST_CASE("parser class")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
SECTION("parse errors")
|
||||||
|
{
|
||||||
|
CHECK_THROWS_AS(json::parser("-,").parse(), std::invalid_argument);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue