use assert_cmd::prelude::*; /*------------------------------------------------------------------------------------------------- Test Examples -------------------------------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------------------- lib_demo.rs --------------------------------------------------------------------------------------*/ #[test] fn example_lib_demo() { let lib_demo = escargot::CargoBuild::new() .example("lib_demo") .current_release() .current_target() .run() .unwrap(); lib_demo.command().assert().success(); }