From 601c08b20bfb806d78fe92d9830960d1a333d5cf Mon Sep 17 00:00:00 2001 From: Justin Wernick Date: Wed, 29 Mar 2023 15:55:43 +0200 Subject: Initial implementation of --init group As the todo list indicates, it needs some security refinement. --- tests/cli.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/cli.rs b/tests/cli.rs index 872c2ce..85f9708 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -116,12 +116,11 @@ fn can_init_a_new_git_repo() -> Result<()> { } #[test] -#[ignore] fn can_init_a_new_shared_git_repo() -> Result<()> { let mut c = spawn_interactive_process()?; let group = get_user_groups().pop().unwrap(); let repo_name = "my-new-shared-repo"; - c.p.send_line(&format!("git-init --shared {} {}", group, repo_name))?; + c.p.send_line(&format!("git-init --group {} {}", group, repo_name))?; c.p.exp_string(&format!( "Successfully created \"git/{}/{}.git\"", group, repo_name -- cgit v1.2.3