Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adjust test for typed exception
  • Loading branch information
FROGGS committed Oct 6, 2015
1 parent e5f7adc commit 73fc8c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S11-modules/importing.t
Expand Up @@ -46,7 +46,9 @@ dies-ok( { EVAL '&foo' }, 'Foo::foo is undefined in outer scope' );

}

throws-like 'use t::spec::packages::S11-modules::Foo :NoSucTag;', X::AdHoc,
throws-like 'use t::spec::packages::S11-modules::Foo :NoSucTag;', X::Import::NoSuchTag,
:source-package<t::spec::packages::S11-modules::Foo>,
:tag<NoSucTag>,
'die while trying to import a non-existent export tag';

# vim: ft=perl6

0 comments on commit 73fc8c3

Please sign in to comment.