Skip to content

Commit 4b79276

Browse files
authored
Rollup merge of #110981 - jyn514:rustdoc-tests, r=notriddle
Move most rustdoc-ui tests into subdirectories This makes it easier to know where to add a new test, and makes the top-level directory less overwhelming.
2 parents 791d33c + 5da288f commit 4b79276

File tree

198 files changed

+40
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+40
-29
lines changed

tests/rustdoc-ui/cfg-test.rs renamed to tests/rustdoc-ui/doctest/cfg-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// check-pass
22
// compile-flags:--test --test-args --test-threads=1
3-
// normalize-stdout-test: "tests/rustdoc-ui" -> "$$DIR"
3+
// normalize-stdout-test: "tests/rustdoc-ui/doctest" -> "$$DIR"
44
// normalize-stdout-test "finished in \d+\.\d+s" -> "finished in $$TIME"
55

66
// Crates like core have doctests gated on `cfg(not(test))` so we need to make

0 commit comments

Comments
 (0)