From 41281a2dc7e400a363d821d9b37ad43fa12eb114 Mon Sep 17 00:00:00 2001 From: jnthn Date: Tue, 20 Jan 2009 20:41:14 +0000 Subject: [PATCH] [t/spec] Fix and unfudge a colonpair test. git-svn-id: http://svn.pugscode.org/pugs@24977 c213334d-75ef-0310-aa23-eaa082d1ae64 --- S06-signature/named-parameters.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/S06-signature/named-parameters.t b/S06-signature/named-parameters.t index a1a65ec509..81e683947f 100644 --- a/S06-signature/named-parameters.t +++ b/S06-signature/named-parameters.t @@ -29,9 +29,8 @@ plan 69; return $w; } is c(w => 3), 3, 'Named argument passes an integer, not a Pair'; - my $x = 5; - #?rakudo 2 skip 'colonpair calling' - is c(:$x), 3, 'can use :$x colonpair syntax to call named arg'; + my $w = 5; + is c(:$w), 5, 'can use :$x colonpair syntax to call named arg'; eval_dies_ok 'my $y; c(:$y)', 'colonpair with wrong variable name dies'; }