#!/bin/sh
set -eu
# Create a scenario that will fail.
cat <<EOF > "$DATADIR/fail.yarn"
SCENARIO this will fail
GIVEN badness
WHEN bad things happen
THEN more badness
IMPLEMENTS GIVEN badness
false
IMPLEMENTS WHEN bad things happen
false
IMPLEMENTS THEN more badness
false
EOF
./run-yarn -n "$DATADIR/fail.yarn"