Commit cb96e30f authored by Niels's avatar Niels

try to understand re2c

...@@ -4181,4 +4181,9 @@ TEST_CASE("parser class") ...@@ -4181,4 +4181,9 @@ TEST_CASE("parser class")
} }
} }
} }
SECTION("parse errors")
{
CHECK_THROWS_AS(json::parser("-,").parse(), std::invalid_argument);
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment