Skip to content

Commit 56c2769

Browse files
committedMay 3, 2022
Fix flaky rustdoc-ui test because it did not replace time result
1 parent 6b6c1ff commit 56c2769

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)
Please sign in to comment.