Add 12 new script tests covering error cases for existing commands (create, update, show, close, dep, delete) and missing command coverage (comments, label, search, config, lint, delete). All new tests pass; 6 pre-existing script test failures remain unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
224 B
Text
11 lines
224 B
Text
# Test bd delete error cases
|
|
|
|
bd init --prefix test
|
|
|
|
# Delete with no args should fail
|
|
! bd delete
|
|
stderr 'no issue IDs provided'
|
|
|
|
# Delete nonexistent issue should fail
|
|
! bd delete nonexistent-id --force
|
|
stderr 'not found'
|