Skip to content

Commit

Permalink
test cargo clean with --release option
Browse files Browse the repository at this point in the history
  • Loading branch information
collin5 committed Nov 26, 2018
1 parent c5d0c34 commit 84be123
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testsuite/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ fn clean_release() {
[FINISHED] release [optimized] target(s) in [..]
",
).run();

p.cargo("clean").arg("--release").run();
assert!(!p.build_dir().join("release").is_dir());
}

#[test]
Expand Down

0 comments on commit 84be123

Please sign in to comment.