diff options
author | Fangrui Song <maskray@google.com> | 2019-07-12 05:59:28 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-07-12 05:59:28 +0000 |
commit | ff6836f429fe1f860c9b4788be5b089766c1239f (patch) | |
tree | 259bb906c6c241a9e378d80fd260b27d42d5f448 /clang/unittests/Tooling/RefactoringTest.cpp | |
parent | bd778e8bf9261780f8cc425963bcf51a8b109803 (diff) | |
download | llvm-ff6836f429fe1f860c9b4788be5b089766c1239f.zip llvm-ff6836f429fe1f860c9b4788be5b089766c1239f.tar.gz llvm-ff6836f429fe1f860c9b4788be5b089766c1239f.tar.bz2 |
[test] Delete trailing spaces from YAML tests
llvm-svn: 365873
Diffstat (limited to 'clang/unittests/Tooling/RefactoringTest.cpp')
-rw-r--r-- | clang/unittests/Tooling/RefactoringTest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/unittests/Tooling/RefactoringTest.cpp b/clang/unittests/Tooling/RefactoringTest.cpp index ed111b7..c51d738 100644 --- a/clang/unittests/Tooling/RefactoringTest.cpp +++ b/clang/unittests/Tooling/RefactoringTest.cpp @@ -1122,11 +1122,11 @@ TEST_F(AtomicChangeTest, AtomicChangeToYAML) { "Key: 'input.cpp:20'\n" "FilePath: input.cpp\n" "Error: ''\n" - "InsertedHeaders: \n" // Extra whitespace here! + "InsertedHeaders:\n" " - a.h\n" - "RemovedHeaders: \n" // Extra whitespace here! + "RemovedHeaders:\n" " - b.h\n" - "Replacements: \n" // Extra whitespace here! + "Replacements:\n" " - FilePath: input.cpp\n" " Offset: 20\n" " Length: 0\n" @@ -1144,11 +1144,11 @@ TEST_F(AtomicChangeTest, YAMLToAtomicChange) { "Key: 'input.cpp:20'\n" "FilePath: input.cpp\n" "Error: 'ok'\n" - "InsertedHeaders: \n" // Extra whitespace here! + "InsertedHeaders:\n" " - a.h\n" - "RemovedHeaders: \n" // Extra whitespace here! + "RemovedHeaders:\n" " - b.h\n" - "Replacements: \n" // Extra whitespace here! + "Replacements:\n" " - FilePath: input.cpp\n" " Offset: 20\n" " Length: 0\n" |