test: ensure main branch on new recipe

This commit is contained in:
d1
2025-01-05 10:38:34 +01:00
parent b3a2402cec
commit 2bc77de751
+4
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