Changeset 24130
- Timestamp:
- 12/01/08 23:06:01 (5 weeks ago)
- Files:
-
- 1 modified
-
t/spec/S12-subset/subtypes.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
t/spec/S12-subset/subtypes.t
r23084 r24130 3 3 use Test; 4 4 5 plan 19;5 plan 21; 6 6 7 7 =begin description … … 80 80 } 81 81 82 # Rakudo had a bug where 'where /regex/' failed 83 # http://rt.perl.org/rt3/Ticket/Display.html?id=60976 84 #?rakudo skip 'RT #60976' 85 #?DOES 2 86 { 87 subset HasA of Str where /a/; 88 lives_ok { my HasA $x = 'bla' }, 'where /regex/ works (positive)'; 89 eval_dies_ok 'my HasA $x = "foo"', 'where /regex/ works (negative)'; 90 } 91 92 93 # vim: ft=perl6
