forked from toolshed/abra
test: tag/git helpers & refactor [ci skip]
This commit is contained in:
@ -78,11 +78,7 @@ teardown(){
|
||||
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" checkout "$latestCommit"
|
||||
assert_success
|
||||
|
||||
# NOTE(d1): nuke it to ensure clean git state
|
||||
run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE"
|
||||
assert_success
|
||||
assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE"
|
||||
_fetch_recipe "$TEST_RECIPE"
|
||||
_reset_recipe "$TEST_RECIPE"
|
||||
}
|
||||
|
||||
@test "bail if unstaged changes and no --chaos" {
|
||||
|
Reference in New Issue
Block a user