cargo-minimize/tests/full_tests.rs
2023-04-11 12:12:38 +02:00

9 lines
232 B
Rust

use anyhow::{ensure, Result};
use std::process::Command;
#[test]
fn full_tests() -> Result<()> {
let status = Command::new("cargo").arg("runtest").spawn()?.wait()?;
ensure!(status.success(), "runtest failed");
Ok(())
}