[clang-tools-extra] r317581 - [clangd] MSVC - third time's the charm
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 7 06:59:21 PST 2017
Author: sammccall
Date: Tue Nov 7 06:59:21 2017
New Revision: 317581
URL: http://llvm.org/viewvc/llvm-project?rev=317581&view=rev
Log:
[clangd] MSVC - third time's the charm
Modified:
clang-tools-extra/trunk/unittests/clangd/JSONExprTests.cpp
Modified: clang-tools-extra/trunk/unittests/clangd/JSONExprTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/JSONExprTests.cpp?rev=317581&r1=317580&r2=317581&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/JSONExprTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/JSONExprTests.cpp Tue Nov 7 06:59:21 2017
@@ -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})",
More information about the cfe-commits
mailing list