Skip to content

Commit 78e6444

Browse files
committed
Don't use raw string R"test(...)test" in the new test case
1 parent 7c1c0d2 commit 78e6444

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

clang/unittests/Format/FormatTestRawStrings.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,12 +1001,12 @@ TEST_F(FormatTestRawStrings, Json) {
10011001
},
10021002
};
10031003

1004-
EXPECT_EQ(R"test(json = R"json({
1005-
"str": "test"
1006-
})json";)test",
1007-
format(R"test(json = R"json({
1008-
"str": "test"
1009-
})json";)test",
1004+
EXPECT_EQ("json = R\"json({\n"
1005+
" \"str\": \"test\"\n"
1006+
" })json\";",
1007+
format("json = R\"json({\n"
1008+
" \"str\": \"test\"\n"
1009+
"})json\";",
10101010
Style));
10111011
}
10121012

0 commit comments

Comments
 (0)