Permalink
Browse files

Fix tests to concat the gist of the type object instead of the type o…

…bject directly.
  • Loading branch information...
1 parent 97a2584 commit afa3b69ef068105c7ad9b1b6f1bcd1ff247ebf75 kboga committed Jul 26, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 S04-statements/for.t
View
@@ -283,15 +283,15 @@ class TestClass{ has $.key is rw };
{
my $a = '';
- for 1..3, 4..6 { $a ~= $_.WHAT };
+ for 1..3, 4..6 { $a ~= $_.WHAT.gist };
is($a, 'Int()Int()Int()Int()Int()Int()', 'List context');
$a = '';
- for [1..3, 4..6] { $a ~= $_.WHAT };
+ for [1..3, 4..6] { $a ~= $_.WHAT.gist };
is($a, 'Array()', 'List context');
$a = '';
- for [1..3], [4..6] { $a ~= $_.WHAT };
+ for [1..3], [4..6] { $a ~= $_.WHAT.gist };
is($a, 'Array()Array()', 'List context');
}

0 comments on commit afa3b69

Please sign in to comment.