test: tag/git helpers & refactor [ci skip]

This commit is contained in:
2023-09-23 23:19:49 +02:00
parent 575bfbb0fb
commit ce7b4733d7
8 changed files with 52 additions and 75 deletions

View File

@ -100,8 +100,5 @@ setup(){
assert_output --partial '0.1.0+1.20.0'
assert_output --regexp '0\.2\.0\+1\.2.*'
# NOTE(d1): nuke it since we can't clean up the tag
run rm -rf "$ABRA_DIR/recipes/$TEST_RECIPE"
assert_success
assert_not_exists "$ABRA_DIR/recipes/$TEST_RECIPE"
_reset_recipe "$TEST_RECIPE"
}