summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-03-30 14:12:47 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-03-30 14:12:47 +0200
commit3a0452fb06c116de61ae75cf34931d4747c5953f (patch)
tree0459e4e1109e3d75ccaced44662b267c2776608b /tests
parent3c59f9494f6b3cf9c8f9fb6cca0580d053329cf0 (diff)
Failing test to get started with listing repos
Diffstat (limited to 'tests')
-rw-r--r--tests/cli.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/cli.rs b/tests/cli.rs
index 4f8de2f..aa25e0a 100644
--- a/tests/cli.rs
+++ b/tests/cli.rs
@@ -224,3 +224,24 @@ fn allows_single_quotes_and_spaces_inside_double_quotes() -> Result<()> {
))?;
Ok(())
}
+
+#[test]
+fn list_can_print_an_empty_list() -> Result<()> {
+ let mut c = spawn_interactive_process()?;
+ c.p.send_line("list")?;
+ c.p.exp_string(
+ r"
+----------------------
+| path | description |
+======================
+----------------------
+",
+ )?;
+ Ok(())
+}
+
+#[test]
+#[ignore]
+fn list_can_print_an_list_of_all_repos_with_descriptions() -> Result<()> {
+ todo!()
+}