X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fcomp%2Frequire.t;h=5c41f5cceceb711484ecac6851fdbe2ec70ca3cd;hb=f0ec1f9abfb9cd61b0c90f06c7dc6e2bb4182791;hp=0f3b97f2baae948cd565e97e927b98ea035d7a5a;hpb=e4bfbdd4cf36fcf1ea2228af44bc998aab31c751;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/comp/require.t b/t/comp/require.t index 0f3b97f..5c41f5c 100755 --- a/t/comp/require.t +++ b/t/comp/require.t @@ -35,9 +35,9 @@ print "ok ",$i++,"\n"; # compile-time failure in require do_require "1)\n"; -# bison says 'parser error' instead of 'syntax error', +# bison says 'parse error' instead of 'syntax error', # various yaccs may or may not capitalize 'syntax'. -print "# $@\nnot " unless $@ =~ /(syntax|parser) error/mi; +print "# $@\nnot " unless $@ =~ /(syntax|parse) error/mi; print "ok ",$i++,"\n"; # successful require