Skip to content

Commit

Permalink
assert for non-release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
collin5 committed Nov 26, 2018
1 parent 84be123 commit f619664
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/testsuite/clean.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ fn clean_release() {
",
).run();

p.cargo("build").run();

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

Expand Down

0 comments on commit f619664

Please sign in to comment.