Permalink
Browse files

[t/spec/TODO] See r28888 for tests for r28881 and note similar tests

git-svn-id: http://svn.pugscode.org/pugs@28927 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information...
1 parent 9e1f7f4 commit 874939bb0a9f9c009501eb254b242d138d60aa0f kyle committed Oct 28, 2009
Showing with 3 additions and 2 deletions.
  1. +1 −0 S05-interpolation/regex-in-variable.t
  2. +2 −1 S05-match/capturing-contexts.t
  3. +0 −1 TODO
@@ -51,6 +51,7 @@ ok(!( "abca!" ~~ m/^@var+$/ ), 'Multiple array non-matching');
eval_dies_ok 'm/%var/', 'cannot interpolate hashes into regexes';
# L<S05/Variable (non-)interpolation/If $var is undefined>
+# This is similar to a test in S05-match/capturing-contexts.t
{
my $u;
ok 'a' !~~ /$u/, 'undef variable does not match';
@@ -81,14 +81,15 @@ if !eval('("a" ~~ /a/)') {
'Match coerced to Hash says match exists';
}
+# This is similar to a test in S05-interpolation/regex-in-variable.t
#?rakudo skip 'RT 70007'
nok 'aa' ~~ /(.)$1/, 'match with non-existent capture does not match';
#?rakudo todo 'RT 70007'
is_run( q{'aa' ~~ /(.)$1/},
{
status => 0,
out => '',
- err => rx/\S/,
+ err => rx/undef/,
},
'match with non-existent capture emits a warning' );
View
1 TODO
@@ -28,7 +28,6 @@ Here's a list of what needs to be done, along with the revisions that changed
the spec (newest first)
* (r28882) upper precision limit for Rat (not sure if it needs explict tests)
-* (r28881) most number literals are actually Rats, not Nums
* (r28528) quietly, note, warning exceptions
* (r28506) defines -> import
* (r28502) Stringy, Numeric etc. roles; PairVal and PairValSet

0 comments on commit 874939b

Please sign in to comment.