#![forbid(unsafe_code)]
#![warn(
missing_docs,
rust_2018_idioms,
trivial_casts,
unused_lifetimes,
unused_qualifications
)]
use abscissa_core::testing::prelude::*;
use once_cell::sync::Lazy;
pub static RUNNER: Lazy<CmdRunner> = Lazy::new(CmdRunner::default);
#[cfg(not(tarpaulin))]
#[test]
fn start_no_args() {
let mut runner = RUNNER.clone();
let mut cmd = runner.capture_stdout().run();
cmd.stdout().expect_regex(
format!(
"^[^ ]*{} {}$",
env!("CARGO_PKG_NAME"),
env!("CARGO_PKG_VERSION")
)
.as_str(),
); cmd.wait().unwrap().expect_success();
}