From 8920428376464c64d690211564f5630425cc4f46 Mon Sep 17 00:00:00 2001 From: Jonas Toth Date: Thu, 4 Oct 2018 16:39:41 +0000 Subject: [clang-tidy] fix failing unit tests The removal from the FIX-IT notes through the check-clang-tidy script was done incorrect. I did not detect beforehand but adjusted the script and tests accordingly llvm-svn: 343797 --- clang-tools-extra/test/clang-tidy/check_clang_tidy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang-tools-extra/test/clang-tidy/check_clang_tidy.py') diff --git a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py index 46fe0f6c8af..d1cefba3c75 100755 --- a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py +++ b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py @@ -165,7 +165,7 @@ def main(): if has_check_notes: notes_file = temp_file_name + '.notes' filtered_output = [line for line in clang_tidy_output.splitlines() - if not "note: FIX-IT applied suggested changes" in line] + if not "note: FIX-IT applied" in line] write_file(notes_file, '\n'.join(filtered_output)) try: subprocess.check_output( -- cgit v1.2.3