diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-07-12 11:20:36 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2022-07-12 11:20:36 +0200 |
| commit | 349a3fc6a3c251088b58627d043c0cd1ca524640 (patch) | |
| tree | 1c4ea8c655d4d1cdbea0113de59b9ccd5f6c7deb | |
| parent | f515af7e3b6070804e8cfc7e31c95e59bb663666 (diff) | |
| download | rust-349a3fc6a3c251088b58627d043c0cd1ca524640.tar.gz rust-349a3fc6a3c251088b58627d043c0cd1ca524640.zip | |
Update -zhelp and -chelp rustdoc-ui tests to use regex-error-pattern
| -rw-r--r-- | src/test/rustdoc-ui/c-help.rs | 2 | ||||
| -rw-r--r-- | src/test/rustdoc-ui/z-help.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/rustdoc-ui/c-help.rs b/src/test/rustdoc-ui/c-help.rs index f63e8b08ecd..e166edf8b61 100644 --- a/src/test/rustdoc-ui/c-help.rs +++ b/src/test/rustdoc-ui/c-help.rs @@ -1,4 +1,6 @@ // check-pass // compile-flags: -Chelp +// check-stdout +// regex-error-pattern: -C\s+incremental pub struct Foo; diff --git a/src/test/rustdoc-ui/z-help.rs b/src/test/rustdoc-ui/z-help.rs index 036c68c272b..c7cf841b937 100644 --- a/src/test/rustdoc-ui/z-help.rs +++ b/src/test/rustdoc-ui/z-help.rs @@ -1,4 +1,6 @@ // check-pass // compile-flags: -Zhelp +// check-stdout +// regex-error-pattern: -Z\s+self-profile pub struct Foo; |
