2024-05-27 21:27:03 -05:00

16 lines
376 B
Rust

use cargo_test_support::file;
use cargo_test_support::paths;
use cargo_test_support::prelude::*;
use cargo_test_support::str;
#[cargo_test]
fn case() {
snapbox::cmd::Command::cargo_ui()
.arg_line("init foo --flag")
.current_dir(paths::root())
.assert()
.code(1)
.stdout_eq(str![""])
.stderr_eq(file!["stderr.term.svg"]);
}