Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test that non-existent export tags die on importing
  • Loading branch information
moritz committed May 8, 2012
1 parent 17368d0 commit 86459a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S11-modules/importing.t
@@ -1,7 +1,7 @@
use v6;
use Test;

plan 15;
plan 16;

# L<S11/"Compile-time Importation"/>

Expand Down Expand Up @@ -44,4 +44,7 @@ ok( ! &foo, 'Foo::foo is undefined in outer scope' );

}

eval_dies_ok 'use t::spec::packages::S11-modules::Foo :NoSucTag;',
'die while trying to import a non-existent export tag';

# vim: ft=perl6

0 comments on commit 86459a9

Please sign in to comment.