forked from mia/Aegisub
Change the test for json parse errors to work with libc++
libc++ is of the opinion that "123eee" is a well-formed double equal to 0.
This commit is contained in:
parent
ae231ce5a5
commit
6f05d4b466
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ TEST_F(lagi_cajun, ReaderParserErrors) {
|
|||
std::istringstream missing_comma("[1 2]");
|
||||
EXPECT_THROW(json::Reader::Read(ue, missing_comma), json::Exception);
|
||||
|
||||
std::istringstream garbage_after_number("123eee");
|
||||
std::istringstream garbage_after_number("123!");
|
||||
EXPECT_THROW(json::Reader::Read(ue, garbage_after_number), json::Exception);
|
||||
|
||||
std::istringstream unexpected_eof("[");
|
||||
|
|
Loading…
Reference in a new issue