Skip to content

Commit c4f676a

Browse files
author
David Ungar
committed
Use CHECK-NOT style
1 parent aaf51f7 commit c4f676a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Misc/serialized-diagnostics-batch-mode-nonprimary-suppression.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
// RUN: %FileCheck -check-prefix=NO-DIAGNOSTICS %s <%t.empty.txt
1919
// NO-DIAGNOSTICS: Number of diagnostics: 0
2020

21-
// RUN: not %FileCheck -check-prefix=ERROR %s <%t.main.txt
22-
// RUN: not %FileCheck -check-prefix=ERROR %s <%t.empty.txt
23-
21+
// RUN: %FileCheck -check-prefix=NO-ERROR %s <%t.main.txt
22+
// RUN: %FileCheck -check-prefix=NO-ERROR %s <%t.empty.txt
23+
// NO-ERROR-NOT: error:
2424

2525
func test(x: SomeType) {
2626
}

0 commit comments

Comments
 (0)