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
263 B
Text
11 lines
263 B
Text
# Test bd show error cases
|
|
|
|
bd init --prefix test
|
|
|
|
# Show nonexistent issue prints error to stderr (exits 0 - known issue)
|
|
bd show nonexistent-id
|
|
stderr 'no issue found'
|
|
|
|
# Show with no args and no last-touched should fail
|
|
! bd show
|
|
stderr 'issue ID is required'
|