Skip to content

Commit

Permalink
add test for mid-file UnicodeBOM
Browse files Browse the repository at this point in the history
  • Loading branch information
swolchok committed Sep 28, 2015
1 parent fcfb9bf commit e98a34e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/ParserTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ TEST(ParserTests, RejectsControlCharacter) {

TEST(ParserTests, AcceptsUnicodeBOM) {
expectSuccess("\xef\xbb\xbfquery myquery { field }");
expectSuccess("query myquery\xef\xbb\xbf{ field }");
}

TEST(ParserTests, ReportsErrorLocationAfterIgnoredBOM) {
Expand Down

0 comments on commit e98a34e

Please sign in to comment.