From 0d4e33ca99f104336e93acd0bb9a5a06b427e5d8 Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Mon, 20 Feb 2023 20:44:12 +0200 Subject: The first test, prints a prompt --- tests/cli.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/cli.rs (limited to 'tests/cli.rs') diff --git a/tests/cli.rs b/tests/cli.rs new file mode 100644 index 0000000..18d815e --- /dev/null +++ b/tests/cli.rs @@ -0,0 +1,7 @@ +use assert_cmd::Command; + +#[test] +fn shows_a_prompt() { + let mut cmd = Command::cargo_bin("shackle").unwrap(); + cmd.assert().success().stdout(">"); +} -- cgit v1.2.3