Skip to content

Commit b255bf9

Browse files
authored
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 #93715: a test is flaky because I forgot to replace the time value. This PR fixes it. r? ``@petrochenkov``
2 parents 33d507a + 56c2769 commit b255bf9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/rustdoc-ui/block-doc-comment.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// check-pass
22
// compile-flags:--test
3+
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
34

45
// This test ensures that no code block is detected in the doc comments.
56

Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
running 0 tests
33

4-
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
4+
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in $TIME
55

0 commit comments

Comments
 (0)