Skip to content

Commit 5413d2e

Browse files
committed
Fix test case
Previously this was using a `.stderr` file, but that does not seem to work for all cases. This change uses `// error-pattern:` instead.
1 parent 8b4f538 commit 5413d2e

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// compile-flags: -A unknown_tool::foo
2-
// check-fail
2+
// error-pattern: unknown lint tool: `unknown_tool`
33

44
fn main() {}

src/test/ui/lint/command-line-register-unknown-lint-tool.stderr

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)