Don't use .arg() in test.
authorEric Huss <eric@huss.org>
Thu, 5 Apr 2018 13:04:45 +0000 (06:04 -0700)
committerEric Huss <eric@huss.org>
Thu, 5 Apr 2018 13:04:45 +0000 (06:04 -0700)
tests/testsuite/doc.rs

index e3ca13e921cdb21bdee3eaeaedd20c52c923c495..b1ea625fcd0e91f0d01291297205a7a91a62244b 100644 (file)
@@ -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[..]"),