test: ensure main branch on new recipe
This commit is contained in:
parent
b3a2402cec
commit
2bc77de751
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user