13 lines
277 B
Bash
13 lines
277 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
cd "$ROOT_DIR"
|
|
|
|
if ! command -v bats >/dev/null 2>&1; then
|
|
echo "bats is not installed. Install with: brew install bats-core" >&2
|
|
exit 1
|
|
fi
|
|
|
|
bats tests/shell/git_update.bats
|