Just use global patat in test.sh

This commit is contained in:
Jasper Van der Jeugt 2016-10-02 17:40:47 +06:30
parent 1b6a83a254
commit 7906634630

View File

@ -8,7 +8,7 @@ for src in $srcs; do
expected="$src.dump"
echo -n "Testing $src... "
actual=$(mktemp)
stack exec patat -- --dump --force "$src" >"$actual"
patat --dump --force "$src" >"$actual"
if [[ $@ == "--fix" ]]; then
cp "$actual" "$expected"