Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed multiline evals that were causing trouble with fudging
  • Loading branch information
bbkr committed Sep 10, 2011
1 parent 106766b commit eb9398c
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions S10-packages/basic.t
Expand Up @@ -101,15 +101,11 @@ eval_lives_ok 'package A1 { role B1 {}; class C1 does A1::B1 {}} ',

#?rakudo todo 'ticket based on class(es) not package; RT #65022'
{
eval_lives_ok '{
package C1Home { class Baz {} };
package C2Home { class Baz {} }
}', 'two different packages should be two different Baz';

eval_lives_ok '{
package E1Home { enum EHomeE <a> };
package E2Home { role EHomeE {}; class EHomeC does E2Home::EHomeE {} }
}', 'two different packages should be two different EHomeE';
eval_lives_ok '{ package C1Home { class Baz {} }; package C2Home { class Baz {} } }',
'two different packages should be two different Baz';

eval_lives_ok '{ package E1Home { enum EHomeE <a> }; package E2Home { role EHomeE {}; class EHomeC does E2Home::EHomeE {} } }',
'two different packages should be two different EHomeE';
}

# making test below todo causes trouble right now ...
Expand Down

0 comments on commit eb9398c

Please sign in to comment.