summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/fix-errors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/fix-errors.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/fix-errors.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/fix-errors.cpp b/clang-tools-extra/test/clang-tidy/fix-errors.cpp
index 639873e2524..0c026163203 100644
--- a/clang-tools-extra/test/clang-tidy/fix-errors.cpp
+++ b/clang-tools-extra/test/clang-tidy/fix-errors.cpp
@@ -1,5 +1,5 @@
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
-// RUN: clang-tidy %t.cpp -checks='-*,google-explicit-constructor' -fix -- > %t.msg 2>&1
+// RUN: not clang-tidy %t.cpp -checks='-*,google-explicit-constructor' -fix -- > %t.msg 2>&1
// RUN: FileCheck -input-file=%t.cpp -check-prefix=CHECK-FIX %s
// RUN: FileCheck -input-file=%t.msg -check-prefix=CHECK-MESSAGES %s
// RUN: grep -Ev "// *[A-Z-]+:" %s > %t.cpp
OpenPOWER on IntegriCloud