Skip to content

Commit 9140e31

Browse files
committed
tests: use bare_rustdoc for rustdoc-default-output
1 parent 7b85605 commit 9140e31

File tree

1 file changed

+3
-2
lines changed
  • tests/run-make/rustdoc-default-output

1 file changed

+3
-2
lines changed

tests/run-make/rustdoc-default-output/rmake.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
// ensures the output of rustdoc's help menu is as expected.
44
// See https://github.com/rust-lang/rust/issues/88756
55

6-
use run_make_support::{diff, rustdoc};
6+
use run_make_support::{bare_rustdoc, diff};
77

88
fn main() {
9-
let out = rustdoc().run().stdout_utf8();
9+
// Use `bare_rustdoc` to ensure no `--target` is set.
10+
let out = bare_rustdoc().run().stdout_utf8();
1011
diff()
1112
.expected_file("output-default.stdout")
1213
.actual_text("actual", out)

0 commit comments

Comments
 (0)