Use a stable rustdoc option for testing

This commit is contained in:
Joshua Nelson 2020-07-04 15:04:44 -04:00
parent bb95188093
commit 0a975e96d8

View file

@ -45,10 +45,8 @@ fn rustdoc_binary_args_passed() {
p.cargo("rustdoc -v")
.arg("--")
.arg("--theme")
.arg("dark")
.with_stderr_contains("[RUNNING] `rustdoc [..] --theme dark[..]`")
.with_status(101)
.arg("--markdown-no-toc")
.with_stderr_contains("[RUNNING] `rustdoc [..] --markdown-no-toc[..]`")
.run();
}