[clang-tools-extra] r317575 - [clangd] another try at fixing MSVC
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 7 06:14:58 PST 2017
Author: sammccall
Date: Tue Nov 7 06:14:58 2017
New Revision: 317575
URL: http://llvm.org/viewvc/llvm-project?rev=317575&view=rev
Log:
[clangd] another try at fixing MSVC
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=317575&r1=317574&r2=317575&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/JSONExprTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/JSONExprTests.cpp Tue Nov 7 06:14:58 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Î\"",
+ u8"\x7f\xce\x94\"",
s(test));
EXPECT_EQ(R"({"object keys are\nescaped":true})",
More information about the cfe-commits
mailing list