Skip to content

Commit

Permalink
Test use lib '' throws useful error
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Dec 11, 2017
1 parent 4995645 commit 786472a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S10-packages/require-and-use.t
Expand Up @@ -5,7 +5,7 @@ use lib <t/spec/packages>;
use Test;
use Test::Util;

plan 1;
plan 2;

# RT #126688
subtest 'circular dependencies are detected and reported' => {
Expand All @@ -20,4 +20,8 @@ subtest 'circular dependencies are detected and reported' => {
"`use` $_" for 'first run', 'second run (precompiled)';
}

# RT #132249
throws-like use lib ‘’, X::LibEmpty,
'use lib with empty string throws a useful error';

# vim: ft=perl6

0 comments on commit 786472a

Please sign in to comment.