beads/cmd/bd/testdata/create_errors.txt

20 lines
415 B
Plaintext
Raw Permalink Normal View History

# Test bd create error cases
bd init --prefix test
# Create with no title should fail
! bd create
stderr 'title required'
# Create with empty title should fail
! bd create ''
stderr 'title is required'
# Create with invalid type should fail
! bd create 'Test' --type invalid-type
stderr 'invalid issue type'
# Create with invalid priority should fail
! bd create 'Test' --priority 99
stderr 'invalid priority'