Skip to content

Commit

Permalink
Localize class used in a test
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Feb 10, 2018
1 parent 7bd36fc commit 2e5fb5b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions S03-operators/inplace.t
Expand Up @@ -234,7 +234,10 @@ subtest '.= works to init sigilles vars' => {
}

# https://github.com/rakudo/rakudo/commit/562edfc50a
is-deeply class Foo { has Array[Numeric] $.foo .= new: 1, 2, 3 }.new.foo,
Array[Numeric].new(1, 2, 3), 'Foo[Bar] type constraint with .= on attributes';
{
is-deeply my class Foo { has Array[Numeric] $.foo .= new: 1, 2, 3 }.new.foo,
Array[Numeric].new(1, 2, 3),
'Foo[Bar] type constraint with .= on attributes';
}

# vim: ft=perl6

0 comments on commit 2e5fb5b

Please sign in to comment.