Skip to content

Commit

Permalink
[FileCheck] Fix comments and eof in allow-unused-prefixes.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrofin committed Nov 2, 2020
1 parent 7360d6d commit a1aaa9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/test/FileCheck/allow-unused-prefixes.txt
Expand Up @@ -2,9 +2,9 @@
; RUN: not FileCheck --allow-unused-prefixes=false --check-prefixes=P1,P2,P3 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt 2>&1 | FileCheck --check-prefix=MISSING-MORE %s
; RUN: FileCheck --allow-unused-prefixes=true --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt

; Note: the default will be changed to 'false', at which time this run line
; should be changed accordingly.
;; Note: the default will be changed to 'false', at which time this run line
;; should be changed accordingly.
; RUN: FileCheck --check-prefixes=P1,P2 --input-file %S/Inputs/one-check.txt %S/Inputs/one-check.txt

; MISSING-ONE: error: no check strings found with prefix 'P2:'
; MISSING-MORE: error: no check strings found with prefixes 'P2:', 'P3:'
; MISSING-MORE: error: no check strings found with prefixes 'P2:', 'P3:'

0 comments on commit a1aaa9e

Please sign in to comment.