mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
Add require deleted for main body
This commit is contained in:
parent
bad820a08b
commit
825870651f
2 changed files with 10 additions and 0 deletions
|
|
@ -16,6 +16,15 @@ use tempfile::TempDir;
|
|||
#[test]
|
||||
#[cfg_attr(not(unix), ignore = "FIXME: Make this not cursed.")]
|
||||
fn full_tests() -> Result<()> {
|
||||
let exit = Command::new("cargo")
|
||||
.arg("build")
|
||||
.spawn()
|
||||
.context("spawn: cargo build")?
|
||||
.wait()
|
||||
.context("wait: cargo build")?;
|
||||
|
||||
ensure!(exit.success(), "cargo build failed");
|
||||
|
||||
let path = Path::new(file!())
|
||||
.canonicalize()?
|
||||
.parent()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue