parent
b03bbe724d
commit
b820bb3b1f
5 changed files with 334 additions and 145 deletions
|
|
@ -159,7 +159,7 @@ TEST_CASE("Unicode", "[hide]")
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
SECTION("ignore byte-order-mark")
|
||||
{
|
||||
// read a file with a UTF-8 BOM
|
||||
|
|
@ -167,7 +167,7 @@ TEST_CASE("Unicode", "[hide]")
|
|||
json j;
|
||||
CHECK_NOTHROW(j << f);
|
||||
}
|
||||
|
||||
*/
|
||||
SECTION("error for incomplete/wrong BOM")
|
||||
{
|
||||
CHECK_THROWS_AS(json::parse("\xef\xbb"), std::invalid_argument);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue