Skip to content

Commit 349a3fc

Browse files
Update -zhelp and -chelp rustdoc-ui tests to use regex-error-pattern
1 parent f515af7 commit 349a3fc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/test/rustdoc-ui/c-help.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// check-pass
22
// compile-flags: -Chelp
3+
// check-stdout
4+
// regex-error-pattern: -C\s+incremental
35

46
pub struct Foo;

src/test/rustdoc-ui/z-help.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
// check-pass
22
// compile-flags: -Zhelp
3+
// check-stdout
4+
// regex-error-pattern: -Z\s+self-profile
35

46
pub struct Foo;

0 commit comments

Comments
 (0)