X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Plugin.git;a=blobdiff_plain;f=t%2Fmethods%2Fstr%2Fundef.t;h=fe6500a37aee7f741412fafe1d0cc5dab050a55d;hp=34e24b7d0c50ba9de79fd77fc8621f2c5d81c975;hb=c9a0cf4380655df3012450691a2f4c113b9f5585;hpb=08a530304d4173611ea49823baeb3ec158024630 diff --git a/t/methods/str/undef.t b/t/methods/str/undef.t index 34e24b7..fe6500a 100644 --- a/t/methods/str/undef.t +++ b/t/methods/str/undef.t @@ -1,10 +1,9 @@ use strict; -use Test::More tests => 3; +use Test::More tests => ($] <= 5.010 ? 3 : 1); use re::engine::Plugin ( comp => sub { my ($re, $str) = @_; - # Runs three times apperently. is($re->str, undef, 'str is undef'); return;