X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=t%2Ftap.sh;h=e3a345784092fb12475e02d4bdd2b4395ae76cd4;hb=27f7fa2a8566beb45fc813fcd8ff3f1e7c738883;hp=c9fe8788b52694a69da2768638c4537c4018a1c5;hpb=cd81b1cb33d940e748ba52877267291a8ab27d18;p=zpackage diff --git a/t/tap.sh b/t/tap.sh index c9fe878..e3a3457 100755 --- a/t/tap.sh +++ b/t/tap.sh @@ -74,7 +74,7 @@ failsok() { note= if [ $rv -eq 0 ]; then printf 'not '; - note=$(printf 'got "%d" expected "%d"' "$rv" "0") + note=$(printf 'got "%d" expected non-zero' "$rv") fi tn=$((tn + 1)) printf 'ok %d - %s\n' $tn "$*" @@ -99,7 +99,7 @@ okstreq() { note= if [ "$1" != "$2" ]; then printf 'not '; - note=$(printf 'got "%s" expected "%s"' "$1" "$2") + note=$(printf 'got "%s"\n# expected "%s"' "$1" "$2") fi shift;shift;