Skip to content

Commit

Permalink
Unfudges etc. for S11
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 2, 2013
1 parent 890a40a commit 6231e15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions S11-modules/import-multi.t
Expand Up @@ -3,7 +3,7 @@ use Test;
BEGIN { @*INC.push('t/spec/packages/') };
use Test::Util;

plan 17;
plan 19;

# L<S11/Importing without loading>

Expand Down Expand Up @@ -50,7 +50,7 @@ plan 17;
multi sub Dfoo( Int $a ) is export { 'sub D::Dfoo Int' };
}
import D;
#?rakudo skip "it just dies, can't check using throws_like"
#?rakudo todo "huh?"
throws_like 'proto sub Dfoo( Mu ) { * }', X::Redeclaration, symbol => 'Dfoo';

multi sub Dfoo( Str $a ) { 'sub D::Dfoo Str' };
Expand Down Expand Up @@ -115,6 +115,7 @@ plan 17;
}
import H;

#?rakudo todo "huh?"
ok &Hfoo ~~ Awesome-Things, 'H) trait "is awesome" applied';
is Hfoo(), 'sub H::Hfoo', 'H) standard traits like "is export" still work';
}
Expand Down
2 changes: 1 addition & 1 deletion S11-modules/require.t
Expand Up @@ -26,7 +26,7 @@ is GLOBAL::InnerModule::EXPORT::DEFAULT::<&bar>(), 'Inner::bar', 'can call our-s
}

#RT #118407
#?rakudo skip "Null PMC access"
#?rakudo skip "Trying to import from 'InnerModule', but the following symbols are missing: quux"
#?pugs skip 'parsefail'
{
require InnerModule:file($name) <quux>;
Expand Down

0 comments on commit 6231e15

Please sign in to comment.