Permalink
Browse files

Stylish change in test.

  • Loading branch information...
bacek committed Jan 16, 2011
1 parent 2613f07 commit bffc552e0ed21187b44b7717a694fb16f23300db
Showing with 1 addition and 1 deletion.
  1. +1 −1 t/setting/01-resizablepmcarray.t
@@ -27,7 +27,7 @@ ok( +@test == 2, '@test[1] has two items');
ok( !@test.exists(2), '@test[2] no longer exists');
@test := <1 2 3>;
-my @res := @test.map(sub($a) { $a~$a; });
+my @res := @test.map(-> $a { $a~$a; });
ok( +@res == 3, 'Map produced same number of elements');
ok( @res.join() eq '112233', 'Map produced correct elements');

0 comments on commit bffc552

Please sign in to comment.