From: Karen Etheridge Date: Sun, 15 Sep 2013 19:46:36 +0000 (-0700) Subject: more diagnostics here too X-Git-Tag: 1.008018~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b5e3ee380a7291bf638a10b7110d7f0af9b6bc5c;p=p5sagit%2Flocal-lib.git more diagnostics here too --- diff --git a/t/bad_variables.t b/t/bad_variables.t index 40d1c00..1de140c 100644 --- a/t/bad_variables.t +++ b/t/bad_variables.t @@ -29,8 +29,8 @@ local::lib->import($dir1); is( $ENV{PERL_LOCAL_LIB_ROOT}, - join($Config{path_sep}, (grep { $_ } $orig_llr, $dir2, $dir1)), - 'dir1 should have been removed and added back in at the top', + join($Config{path_sep}, (grep { defined $_ and $_ ne '' } $orig_llr, $dir2, $dir1)), + 'dir1 should have been removed and added back in at the top (PERL_LOCAL_LIB_ROOT was ' . $orig_llr . ')', ); ok((grep { /\Q$dir1\E/ } @INC), 'new dir has been added to @INC');