Skip to content

Commit

Permalink
Don't use .arg() in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 5, 2018
1 parent bbb2b92 commit 187bb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1488,7 +1488,7 @@ fn doc_edition() {
.build();

assert_that(
p.cargo("doc").arg("-v").masquerade_as_nightly_cargo(),
p.cargo("doc -v").masquerade_as_nightly_cargo(),
execs()
.with_status(0)
.with_stderr_contains("[RUNNING] `rustdoc [..]-Zunstable-options --edition=2018[..]"),
Expand Down

0 comments on commit 187bb0a

Please sign in to comment.