diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-05-04 17:13:13 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-04 17:13:13 +0900 |
| commit | b255bf9eb47778b9c8e26d046ac558701143b921 (patch) | |
| tree | 3eb1c26bc5178076180c622d7f2a4886ac85639a | |
| parent | 33d507a986e94e2e1bafa61150dc094d31e47147 (diff) | |
| parent | 56c2769de357ade8a3617e4a7da2f739225616ac (diff) | |
| download | rust-b255bf9eb47778b9c8e26d046ac558701143b921.tar.gz rust-b255bf9eb47778b9c8e26d046ac558701143b921.zip | |
Rollup merge of #96668 - GuillaumeGomez:fix-rustdoc-ui-flaky-test, r=petrochenkov
Fix flaky rustdoc-ui test because it did not replace time result As mentioned in https://github.com/rust-lang/rust/pull/93715: a test is flaky because I forgot to replace the time value. This PR fixes it. r? ``@petrochenkov``
| -rw-r--r-- | src/test/rustdoc-ui/block-doc-comment.rs | 1 | ||||
| -rw-r--r-- | src/test/rustdoc-ui/block-doc-comment.stdout | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/test/rustdoc-ui/block-doc-comment.rs b/src/test/rustdoc-ui/block-doc-comment.rs index c60dfa3f951..ce529916e5e 100644 --- a/src/test/rustdoc-ui/block-doc-comment.rs +++ b/src/test/rustdoc-ui/block-doc-comment.rs @@ -1,5 +1,6 @@ // check-pass // compile-flags:--test +// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME" // This test ensures that no code block is detected in the doc comments. diff --git a/src/test/rustdoc-ui/block-doc-comment.stdout b/src/test/rustdoc-ui/block-doc-comment.stdout index e5c27bebbdb..7326c0a25a0 100644 --- a/src/test/rustdoc-ui/block-doc-comment.stdout +++ b/src/test/rustdoc-ui/block-doc-comment.stdout @@ -1,5 +1,5 @@ running 0 tests -test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s +test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME |
