Permalink
Browse files

Remove where { /^[isnt|arent|amnot|aint]$/ } test because no one quit…

…e knows how it should work.
  • Loading branch information...
colomon committed Jan 10, 2012
1 parent 85deb42 commit 8d08f6f7dc6b584748fafd187aabbcff87db1fdf
Showing with 1 addition and 13 deletions.
  1. +1 −13 S02-types/subset.t
View
@@ -1,6 +1,6 @@
use v6;
use Test;
-plan 44;
+plan 42;
=begin description
@@ -118,18 +118,6 @@ dies_ok { my Digit $x = 3.1 },
dies_ok { $text = 'oops' }, 'subset of Str where pattern enforces pattern';
}
-#?rakudo skip 'adding braces breaks subset?'
-#?niecza skip 'Unable to resolve method hints in class Any'
-{
- subset Naht of Str where { /^[isnt|arent|amnot|aint]$/ };
- my Naht $text;
- $text = 'amnot';
- is $text, 'amnot',
- 'assignment to subset of Str where pattern in braces worked';
- dies_ok { $text = 'oops' },
- 'subset of Str where pattern in braces enforces pattern';
-}
-
# RT #67256
#?niecza skip "Exception NYI"
{

0 comments on commit 8d08f6f

Please sign in to comment.