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
235 B
Text
11 lines
235 B
Text
# Test bd close error cases
|
|
|
|
bd init --prefix test
|
|
|
|
# Close nonexistent issue should fail
|
|
! bd close nonexistent-id
|
|
stderr 'no issue found'
|
|
|
|
# Close with no args and no last-touched should fail
|
|
! bd close
|
|
stderr 'no issue ID provided'
|