mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
assert for non-release artifacts
This commit is contained in:
parent
84be123f79
commit
f61966403a
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user