forked from toolshed/abra
test: moar integration tests [ci skip]
This commit is contained in:
11
tests/integration/helpers/git.bash
Normal file
11
tests/integration/helpers/git.bash
Normal file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
_checkout_recipe() {
|
||||
if [[ -z "$1" ]]; then
|
||||
echo 'forgot to pass argument to function?'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
run git -C "$ABRA_DIR/recipes/$1" checkout .
|
||||
assert_success
|
||||
}
|
Reference in New Issue
Block a user