summaryrefslogtreecommitdiffstats
path: root/llvm/test/FileCheck/check-not-diaginfo.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/FileCheck/check-not-diaginfo.txt')
-rw-r--r--llvm/test/FileCheck/check-not-diaginfo.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/llvm/test/FileCheck/check-not-diaginfo.txt b/llvm/test/FileCheck/check-not-diaginfo.txt
index de2d13e1f81..389c1784a2a 100644
--- a/llvm/test/FileCheck/check-not-diaginfo.txt
+++ b/llvm/test/FileCheck/check-not-diaginfo.txt
@@ -1,10 +1,11 @@
-; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s
+; RUN: not FileCheck --input-file %s %s 2>&1 \
+; RUN: | FileCheck --strict-whitespace --check-prefix DIAG %s
CHECK-NOT: test
-DIAG: error: CHECK-NOT: excluded string found in input
-DIAG-NEXT: CHECK-NOT: test
-DIAG-NEXT: {{^ \^}}
-DIAG-NEXT: note: found here
-DIAG-NEXT: CHECK-NOT: test
-DIAG-NEXT: {{^ \^}}
+DIAG: error: CHECK-NOT: excluded string found in input
+DIAG-NEXT: CHECK-NOT: test
+DIAG-NEXT: {{^}} ^{{$}}
+DIAG-NEXT: note: found here
+DIAG-NEXT: CHECK-NOT: test
+DIAG-NEXT: {{^}} ^~~~{{$}}
OpenPOWER on IntegriCloud