diff options
Diffstat (limited to 'clang/test/AST/gen_ast_dump_json_test.py')
-rw-r--r-- | clang/test/AST/gen_ast_dump_json_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/AST/gen_ast_dump_json_test.py b/clang/test/AST/gen_ast_dump_json_test.py index f1c9801fb10..54a5109aacf 100644 --- a/clang/test/AST/gen_ast_dump_json_test.py +++ b/clang/test/AST/gen_ast_dump_json_test.py @@ -131,10 +131,10 @@ def main(): index = 0 for append_line in append_str.splitlines()[2:]: if index == 0: - out_str += '// CHECK: %s\n' %(append_line) + out_str += '// CHECK: %s\n' %(append_line.rstrip()) index += 1 else: - out_str += '// CHECK-NEXT: %s\n' %(append_line) + out_str += '// CHECK-NEXT: %s\n' %(append_line.rstrip()) f.write(out_str) |