From: Vincent Pit Date: Sat, 22 Aug 2009 23:37:48 +0000 (+0200) Subject: Starting from 5.10.1, the 'undef' test is only run once X-Git-Tag: v0.07~7 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Plugin.git;a=commitdiff_plain;h=c9a0cf4380655df3012450691a2f4c113b9f5585 Starting from 5.10.1, the 'undef' test is only run once --- 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;