diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/library.yarn | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/library.yarn b/testing/library.yarn index 2ce4436..4d61251 100644 --- a/testing/library.yarn +++ b/testing/library.yarn @@ -75,8 +75,11 @@ Repository access $GTT clone $MATCH_1 $MATCH_2 "$MATCH_3" "$MATCH_4" ${MATCH_5:+ --no-local --depth="$MATCH_6"} \ >$DATADIR/stdout 2>$DATADIR/stderr - IMPLEMENTS WHEN ([a-z][a-z0-9]*),? using ([a-z][a-z0-9]*),? pushes ([^ ]+) to ([^ ]+) - $GTT push $MATCH_1 $MATCH_2 "$MATCH_3" "$MATCH_4" + IMPLEMENTS WHEN ([a-z][a-z0-9]*),? using ([a-z][a-z0-9]*),? (expecting failure,? )?pushes ([^ ]+) to ([^ ]+) + if $GTT push $MATCH_1 $MATCH_2 "$MATCH_4" "$MATCH_5" \ + >$DATADIR/stdout 2>$DATADIR/stderr; then + test "$MATCH_3" = "" + fi IMPLEMENTS WHEN ([a-z][a-z0-9]*),? using ([a-z][a-z0-9]*),? (expecting failure,? )?destroys ([^ ]+) using the (.+) token if $GTT runcommand $MATCH_1 $MATCH_2 \ |