diff options
author | Zachary Turner <zturner@google.com> | 2018-10-12 16:31:08 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2018-10-12 16:31:08 +0000 |
commit | 9c544199cfd74acdf8b049ff120032a26142e8a2 (patch) | |
tree | 6a8da57be99cd61b82cbe3160d91fc0fcd578744 /clang/unittests/Tooling/ReplacementsYamlTest.cpp | |
parent | ec234052a648d69c4a253dd0b95a9686855e3757 (diff) | |
download | bcm5719-llvm-9c544199cfd74acdf8b049ff120032a26142e8a2.tar.gz bcm5719-llvm-9c544199cfd74acdf8b049ff120032a26142e8a2.zip |
Revert "Make YAML quote forward slashes."
This reverts commit b86c16ad8c97dadc1f529da72a5bb74e9eaed344.
This is being reverted because I forgot to write a useful
commit message, so I'm going to resubmit it with an actual
commit message.
llvm-svn: 344358
Diffstat (limited to 'clang/unittests/Tooling/ReplacementsYamlTest.cpp')
-rw-r--r-- | clang/unittests/Tooling/ReplacementsYamlTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/unittests/Tooling/ReplacementsYamlTest.cpp b/clang/unittests/Tooling/ReplacementsYamlTest.cpp index 2e5a87a931d..3e4193d2adf 100644 --- a/clang/unittests/Tooling/ReplacementsYamlTest.cpp +++ b/clang/unittests/Tooling/ReplacementsYamlTest.cpp @@ -33,13 +33,13 @@ TEST(ReplacementsYamlTest, serializesReplacements) { // NOTE: If this test starts to fail for no obvious reason, check whitespace. ASSERT_STREQ("---\n" - "MainSourceFile: '/path/to/source.cpp'\n" + "MainSourceFile: /path/to/source.cpp\n" "Replacements: \n" // Extra whitespace here! - " - FilePath: '/path/to/file1.h'\n" + " - FilePath: /path/to/file1.h\n" " Offset: 232\n" " Length: 56\n" " ReplacementText: 'replacement #1'\n" - " - FilePath: '/path/to/file2.h'\n" + " - FilePath: /path/to/file2.h\n" " Offset: 301\n" " Length: 2\n" " ReplacementText: 'replacement #2'\n" |