From: Rafael Garcia-Suarez Date: Fri, 13 Feb 2009 14:59:28 +0000 (+0100) Subject: Remove obsolete comment; document test format X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5de85fa00355223fa09334b82445b656ae9eeea;p=p5sagit%2Fp5-mst-13.2.git Remove obsolete comment; document test format --- diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t index 0cc9cf0..1ef56c1 100644 --- a/t/op/smartmatch.t +++ b/t/op/smartmatch.t @@ -10,10 +10,6 @@ use strict; use Tie::Array; use Tie::Hash; -# The feature mechanism is tested in t/lib/feature/smartmatch: -# This file tests the semantics of the operator, without worrying -# about feature issues such as scoping etc. - # Predeclare vars used in the tests: my $deep1 = []; push @$deep1, \$deep1; my $deep2 = []; push @$deep2, \$deep2; @@ -94,6 +90,10 @@ sub fatal {die "fatal sub\n"} sub a_const() {die "const\n" if @_; "a constant"} sub b_const() {die "const\n" if @_; "a constant"} +# Prefix character : +# - expected to match +# ! - expected to not match +# @ - expected to be a compilation failure __DATA__ # OBJECT # - overloaded