Skip to content

Commit afa3b69

Browse files
kbogakboga
authored andcommitted
Fix tests to concat the gist of the type object instead of the type object directly.
1 parent 97a2584 commit afa3b69

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

S04-statements/for.t

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,15 +283,15 @@ class TestClass{ has $.key is rw };
283283

284284
{
285285
my $a = '';
286-
for 1..3, 4..6 { $a ~= $_.WHAT };
286+
for 1..3, 4..6 { $a ~= $_.WHAT.gist };
287287
is($a, 'Int()Int()Int()Int()Int()Int()', 'List context');
288288

289289
$a = '';
290-
for [1..3, 4..6] { $a ~= $_.WHAT };
290+
for [1..3, 4..6] { $a ~= $_.WHAT.gist };
291291
is($a, 'Array()', 'List context');
292292

293293
$a = '';
294-
for [1..3], [4..6] { $a ~= $_.WHAT };
294+
for [1..3], [4..6] { $a ~= $_.WHAT.gist };
295295
is($a, 'Array()Array()', 'List context');
296296
}
297297

0 commit comments

Comments
 (0)