X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=t%2F20-bad.t;h=6706d89c3a706d1a31f5706b47657411d1808741;hp=6c14518761826180e4167e5f8d62ab2f110b0136;hb=b92e3c9567e42b06df65b6d857bb647fe1bee651;hpb=8fc94cd143b3b33a9642be69b17389375208dbcf diff --git a/t/20-bad.t b/t/20-bad.t index 6c14518..6706d89 100644 --- a/t/20-bad.t +++ b/t/20-bad.t @@ -23,6 +23,7 @@ sub expect { local $/ = "####\n"; while () { chomp; + s/\s*$//; local $SIG{__WARN__} = sub { die 'warn:' . join(' ', @_) }; { use indirect;