use std::env;
#[test]
fn cli_tests() {
env::set_var("COLUMNS", "72");
env::set_var("LANG", "en_US.UTF-8");
env::set_var("COLORTERM", "truecolor");
let t = trycmd::TestCases::new();
let console = trycmd::cargo::cargo_bin("tokio-console");
t.register_bin("tokio-console", console);
let readme_path = std::path::Path::new(&std::env::var("CARGO_MANIFEST_DIR").unwrap())
.parent()
.expect("README.md exists in the root of the repo")
.join("README.md");
t.case("tests/cli-ui.toml").case(readme_path);
}