#!/bin/sh
set -eu
cat <<EOF > "$DATADIR/finally.yarn"
SCENARIO finally
GIVEN nothing
WHEN nothing
THEN nothing
FINALLY yeehaa
IMPLEMENTS GIVEN nothing
true
IMPLEMENTS WHEN nothing
true
IMPLEMENTS THEN nothing
true
IMPLEMENTS FINALLY yeehaa
touch "$DATADIR/finally.has.run"
EOF
./run-yarn "$DATADIR/finally.yarn"
test -e "$DATADIR/finally.has.run"