test: ensure main branch on new recipe

This commit is contained in:
decentral1se 2025-01-05 10:38:34 +01:00
parent b3a2402cec
commit 2bc77de751
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -35,6 +35,10 @@ teardown(){
assert_success
assert_output --partial "new recipe 'foobar' created"
assert_exists "$ABRA_DIR/recipes/foobar"
run git -C "$ABRA_DIR/recipes/foobar" rev-parse --abbrev-ref HEAD
assert_success
assert_output "main"
}
# bats test_tags=slow