summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/unittests/clangd/JSONExprTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clangd/JSONExprTests.cpp b/clang-tools-extra/unittests/clangd/JSONExprTests.cpp
index e1639a7d210..a05b7f8486f 100644
--- a/clang-tools-extra/unittests/clangd/JSONExprTests.cpp
+++ b/clang-tools-extra/unittests/clangd/JSONExprTests.cpp
@@ -68,7 +68,7 @@ TEST(JSONExprTests, Escaping) {
'\xce', '\x94', // Non-ASCII UTF-8 is not escaped.
};
EXPECT_EQ(R"("\u0000\u0008\u000c\r\n\tS\"\\)"
- u8"\x7f\xce\x94\"",
+ "\x7f\xCE\x94\"",
s(test));
EXPECT_EQ(R"({"object keys are\nescaped":true})",
OpenPOWER on IntegriCloud