diff options
Diffstat (limited to 'tests/cli.rs')
-rw-r--r-- | tests/cli.rs | 21 |
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!() +} |