summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-02-20 20:44:12 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-02-20 20:44:59 +0200
commit0d4e33ca99f104336e93acd0bb9a5a06b427e5d8 (patch)
tree97eba95d34bfce868c972b392c699dd228ec55fa /tests
parentbc08e1e0dde1aa1c5f7645e8c50fe3a0d21cc23a (diff)
The first test, prints a prompt
Diffstat (limited to 'tests')
-rw-r--r--tests/cli.rs7
1 files changed, 7 insertions, 0 deletions
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(">");
+}