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);
}
} }