From fcfd6635b0e62947b982290ca9b576c44fa6a291 Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Sun, 23 Mar 2014 22:25:25 -0500 Subject: [PATCH] Removed unicode control sequence from test, since it's not guaranteed that the source code is UTF-8 --- test/integration/handler_spec_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/handler_spec_test.cpp b/test/integration/handler_spec_test.cpp index 3567cf7..b338693 100644 --- a/test/integration/handler_spec_test.cpp +++ b/test/integration/handler_spec_test.cpp @@ -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"));