all repos

mugit @ dbbfe17

🐮 git server that your cow will love

mugit/testscript/cli-repo-new-errors.txtar (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
test: add missing tests (#5)..., 2 months ago
1
# missing repo name
2
! mugit repo new
3
stderr 'no name provided'
4
5
# repo already exists
6
mugit repo new existing-repo
7
! mugit repo new existing-repo
8
stderr 'already exists'
9
10
# invalid mirror URL
11
! mugit repo new mirrored-repo --mirror 'invalid://url'
12
stderr 'only http and https remotes are supported'
13
! exists $REPOS/mirrored-repo.git
14
15
! mugit repo new mirrored-repo-ssh --mirror 'git@github.com:olexsmir/gopher.nvim.git'
16
stderr 'only http and https remotes are supported'
17
! exists $REPOS/mirrored-repo-ssh.git