Skip to content

Commit 0a975e9

Browse files
committed
Use a stable rustdoc option for testing
1 parent bb95188 commit 0a975e9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/testsuite/rustdoc.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,8 @@ fn rustdoc_binary_args_passed() {
4545

4646
p.cargo("rustdoc -v")
4747
.arg("--")
48-
.arg("--theme")
49-
.arg("dark")
50-
.with_stderr_contains("[RUNNING] `rustdoc [..] --theme dark[..]`")
51-
.with_status(101)
48+
.arg("--markdown-no-toc")
49+
.with_stderr_contains("[RUNNING] `rustdoc [..] --markdown-no-toc[..]`")
5250
.run();
5351
}
5452

0 commit comments

Comments
 (0)