properly reset recipe
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
p4u1 2024-03-11 14:21:29 +01:00
parent 0ca65b1d4f
commit 0344203209
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ teardown_file(){
setup(){
load "$PWD/tests/integration/helpers/common"
_common_setup
_reset_recipe
}
teardown(){
@ -140,7 +141,7 @@ teardown(){
assert_success
run git -C "$ABRA_DIR/recipes/$TEST_RECIPE" status
assert_output --partial 'behind 3'
assert_output --regexp 'behind .* 3 commits'
threeCommitsBack="$(git -C "$ABRA_DIR/recipes/$TEST_RECIPE" rev-parse --short HEAD)"