Removed unicode control sequence from test, since it's not guaranteed that the source code is UTF-8
This commit is contained in:
parent
0883e65592
commit
84eb04ed0a
@ -318,7 +318,7 @@ TEST_F(HandlerSpecTest, Ex2_17_QuotedScalars) {
|
||||
EXPECT_CALL(handler, OnDocumentStart(_));
|
||||
EXPECT_CALL(handler, OnMapStart(_, "?", 0));
|
||||
EXPECT_CALL(handler, OnScalar(_, "?", 0, "unicode"));
|
||||
EXPECT_CALL(handler, OnScalar(_, "!", 0, "Sosa did fine.\u263A"));
|
||||
EXPECT_CALL(handler, OnScalar(_, "!", 0, "Sosa did fine.\xE2\x98\xBA"));
|
||||
EXPECT_CALL(handler, OnScalar(_, "?", 0, "control"));
|
||||
EXPECT_CALL(handler, OnScalar(_, "!", 0, "\b1998\t1999\t2000\n"));
|
||||
EXPECT_CALL(handler, OnScalar(_, "?", 0, "hex esc"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user