Skip to content

Commit f0b0c53

Browse files
Georgii Rymarmemfrob
authored andcommitted
[llvm-readobj][test][NFC] - Use "--check-prefix" instead of "--check-prefixes".
We have the `--check-prefixes` invocation for a single suffix. It is cleaner to use `--check-prefix` in this case.
1 parent 29cde88 commit f0b0c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/tools/llvm-readobj/ELF/needed-libs.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ ProgramHeaders:
5858
## Check what we print when the dynamic string table is empty.
5959
# RUN: yaml2obj %s --docnum=2 -o %t2
6060
# RUN: llvm-readobj --needed-libs %t2 2>&1 | \
61-
# RUN: FileCheck %s -DFILE=%t2 --implicit-check-not=warning: --check-prefixes=EMPTY-DYNSTR
61+
# RUN: FileCheck %s -DFILE=%t2 --implicit-check-not=warning: --check-prefix=EMPTY-DYNSTR
6262
# RUN: llvm-readelf --needed-libs %t2 2>&1 | \
6363
# RUN: FileCheck %s -DFILE=%t2 --implicit-check-not=warning: --check-prefix=EMPTY-DYNSTR
6464

0 commit comments

Comments
 (0)