Skip to content

Commit

Permalink
[t/spec/TODO] See r28888 for tests for r28881 and note similar tests
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@28927 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
kyle committed Oct 28, 2009
1 parent 9e1f7f4 commit 874939b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions S05-interpolation/regex-in-variable.t
Expand Up @@ -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';
Expand Down
3 changes: 2 additions & 1 deletion S05-match/capturing-contexts.t
Expand Up @@ -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' );

Expand Down
1 change: 0 additions & 1 deletion TODO
Expand Up @@ -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
Expand Down

0 comments on commit 874939b

Please sign in to comment.