Skip to content

Commit

Permalink
Update -zhelp and -chelp rustdoc-ui tests to use regex-error-pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 12, 2022
1 parent f515af7 commit 349a3fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/rustdoc-ui/c-help.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// check-pass
// compile-flags: -Chelp
// check-stdout
// regex-error-pattern: -C\s+incremental

pub struct Foo;
2 changes: 2 additions & 0 deletions src/test/rustdoc-ui/z-help.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// check-pass
// compile-flags: -Zhelp
// check-stdout
// regex-error-pattern: -Z\s+self-profile

pub struct Foo;

0 comments on commit 349a3fc

Please sign in to comment.