diff options
Diffstat (limited to 'tests/cli_test_utils')
-rw-r--r-- | tests/cli_test_utils/context.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cli_test_utils/context.rs b/tests/cli_test_utils/context.rs index 2517040..2c61085 100644 --- a/tests/cli_test_utils/context.rs +++ b/tests/cli_test_utils/context.rs @@ -100,15 +100,15 @@ impl TestContext { } } +pub fn arbitrary_user_group() -> String { + get_user_groups().into_iter().next().unwrap() +} + pub fn personal_repo_path(repo_name: &str) -> String { let username = get_username().unwrap(); format!("git/{username}/{repo_name}.git") } -pub fn arbitrary_user_group() -> String { - get_user_groups().into_iter().next().unwrap() -} - pub fn group_repo_path(group: &str, repo_name: &str) -> String { format!("git/{group}/{repo_name}.git") } |