Changeset 21651 for t/spec/S12-enums/thorough.t
- Timestamp:
- 07/31/08 16:47:48 (5 months ago)
- Files:
-
- 1 modified
-
t/spec/S12-enums/thorough.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S12-enums/thorough.t
r21146 r21651 3 3 use Test; 4 4 5 plan 57;5 plan 65; 6 6 7 7 =begin description … … 15 15 enum day <Sun Mon Tue Wed Thu Fri Sat>; 16 16 17 #?DOES 1 217 #?DOES 14 18 18 sub test_stuff($x) { 19 19 ok not $x does Wed, "basic enum mixing worked ($x-2)"; … … 29 29 ok Tue $x, "Tue() worked correctly ($x)"; 30 30 ok $x.Tue, ".Tue() worked correctly ($x)"; 31 ok $x.Tue.WHAT, '$obj.Tue.WHAT returns a true valuee'; 32 ok $x.Tue.perl, '$obj.Tue.perl returns a true valuee'; 31 33 } 32 34
