Skip to content

Commit af5b1d1

Browse files
committed
Fix error cases in CLI tests
no more conflict error
1 parent c26229b commit af5b1d1

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

uzumibi-cli/tests/runn/error_cases.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@ steps:
2323
current.exit_code != 0 &&
2424
current.stdout contains 'not found'
2525
26-
directory_exists:
27-
desc: Error when directory already exists
28-
exec:
29-
command: |
30-
mkdir -p {{ vars.tmpdir }}/existing-project
31-
cd {{ vars.tmpdir }} && {{ vars.binary }} new -t spin existing-project 2>&1
32-
test: |
33-
current.exit_code != 0 &&
34-
current.stdout contains 'already exists'
35-
3626
cleanup:
3727
desc: Clean up test directories
3828
exec:

0 commit comments

Comments
 (0)