Skip to content

Commit

Permalink
Add testscript case for missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
x2 committed Sep 4, 2024
1 parent 41d246c commit 3dfcf17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testscript/testdata/repo-delete.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ soft repo create repo-to-delete
soft repo delete repo-to-delete
! soft repo delete nope
stderr '.*not found.*'

# missing argument should fail
! soft repo branch delete repo1
stderr 'Error.*accepts 2 arg.*'

soft repo list
stdout 'repo1'

Expand Down

0 comments on commit 3dfcf17

Please sign in to comment.