This is an automatically generated mail to inform you that tests are now available in t/spec/S02-literals/pairs.t
commit 9fd71beb3606290483fe7542565b0ea02d438c7a Author: moritz <mor...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Wed Apr 28 13:35:55 2010 +0000 [t/spec] test for RT #74732, Pair.elems git-svn-id: http://svn.pugscode.org/p...@30490 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S02-literals/pairs.t b/t/spec/S02-literals/pairs.t index b571f67..192d3ac 100644 --- a/t/spec/S02-literals/pairs.t +++ b/t/spec/S02-literals/pairs.t @@ -23,7 +23,7 @@ use Test; # S02 lists ':a' as being equivlaent to a => 1, so # the type of the value of that pair is Int, not Bool -plan 47; +plan 48; sub f1 ($a, $b) { $a.WHAT ~ $b.WHAT } { @@ -148,4 +148,8 @@ sub f9 (:$bar!) { WHAT($bar) } "variables cannot be keys of syntactical pairs (3)"; } +{ + is (a => 3).elems, 1, 'Pair.elems'; +} + # vim: ft=perl6