diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-04-09 22:21:41 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-04-09 22:21:41 +0200 |
commit | d4f5206f4c409f3e3121e5f58cd6301284fd197f (patch) | |
tree | ce925feabcb3b61ff0c7cbe4b51f5b3eb6c066a6 /tests/server_shell.rs | |
parent | 9d8995a8f64d589744c57abc9201b37e1442e0fb (diff) |
Update naming of git-init to just init
Diffstat (limited to 'tests/server_shell.rs')
-rw-r--r-- | tests/server_shell.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server_shell.rs b/tests/server_shell.rs index d1453b1..bee0ed7 100644 --- a/tests/server_shell.rs +++ b/tests/server_shell.rs @@ -139,7 +139,7 @@ fn expect_prompt(p: &mut PtySession) -> Result<()> { fn make_new_repo(c: &TestContext, repo_name: &str) -> Result<()> { let mut p = connect_to_ssh_server_interactively(&c)?; - p.send_line(&format!("git-init {}", repo_name))?; + p.send_line(&format!("init {}", repo_name))?; p.exp_string(&format!( "Successfully created \"git/shukkie/{}.git\"", repo_name @@ -152,7 +152,7 @@ fn make_new_repo(c: &TestContext, repo_name: &str) -> Result<()> { fn make_new_shared_repo(c: &TestContext, group: &str, repo_name: &str) -> Result<()> { let mut p = connect_to_ssh_server_interactively(&c)?; - p.send_line(&format!("git-init --group {} {}", group, repo_name))?; + p.send_line(&format!("init --group {} {}", group, repo_name))?; p.exp_string(&format!( "Successfully created \"git/{}/{}.git\"", group, repo_name |