Skip to content

Commit e98a34e

Browse files
committed
add test for mid-file UnicodeBOM
1 parent fcfb9bf commit e98a34e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ParserTests.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ TEST(ParserTests, RejectsControlCharacter) {
5454

5555
TEST(ParserTests, AcceptsUnicodeBOM) {
5656
expectSuccess("\xef\xbb\xbfquery myquery { field }");
57+
expectSuccess("query myquery\xef\xbb\xbf{ field }");
5758
}
5859

5960
TEST(ParserTests, ReportsErrorLocationAfterIgnoredBOM) {

0 commit comments

Comments
 (0)