X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FTest-Leaner.git;a=blobdiff_plain;f=t%2F01-import.t;h=9027e9963135acad44277f60eceb8bfa5ef44d1a;hp=9fe04df4ee1a6b15fba5a885fb87d180f8f5e426;hb=378088097e64037f79bdae71f517be8b4a443929;hpb=523282cb37776bafbd208da07fde9a150d8f3e71 diff --git a/t/01-import.t b/t/01-import.t index 9fe04df..9027e99 100644 --- a/t/01-import.t +++ b/t/01-import.t @@ -32,6 +32,10 @@ my @syms = qw< BAIL_OUT >; +unless ($Test::More::VERSION > 0.51) { + delete $main::{$_} for @syms; +} + for (@syms) { eval { Test::Leaner->import(import => [ $_ ]) }; tm_is $@, '', "import $_";