forked from toolshed/abra
test: moar chaos stability 😌 [ci skip]
This commit is contained in:
@ -41,6 +41,9 @@ teardown(){
|
||||
assert_success
|
||||
assert_output --partial 'foo'
|
||||
|
||||
assert_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
assert_equal "$(_git_status)" "?? foo"
|
||||
|
||||
run $ABRA recipe lint "$TEST_RECIPE"
|
||||
assert_failure
|
||||
assert_output --partial 'locally unstaged changes'
|
||||
@ -58,6 +61,9 @@ teardown(){
|
||||
assert_success
|
||||
assert_output --partial 'foo'
|
||||
|
||||
assert_exists "$ABRA_DIR/recipes/$TEST_RECIPE/foo"
|
||||
assert_equal "$(_git_status)" "?? foo"
|
||||
|
||||
run $ABRA recipe lint "$TEST_RECIPE" --chaos
|
||||
assert_success
|
||||
|
||||
|
Reference in New Issue
Block a user