From 8c5f6936e7c6250712b0f630deac0c445eaf4dff Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 6 Sep 2007 13:21:34 +0000 Subject: Bump version number to 5.10.0. p4raw-id: //depot/perl@31799 --- t/comp/use.t | 5 +++++ 1 file changed, 5 insertions(+) (limited to 't/comp/use.t') diff --git a/t/comp/use.t b/t/comp/use.t index e66c4a39b5..41f3bde764 100755 --- a/t/comp/use.t +++ b/t/comp/use.t @@ -195,6 +195,11 @@ foreach my $index (-3..+3) { if ($index < 0) { # Jiggle one of the parts down --$parts[-$index - 1]; + if ($parts[-$index - 1] < 0) { + # perl's version number ends with '.0' + $parts[-$index - 1] = 0; + $parts[-$index - 2] -= 2; + } } else { # Jiggle one of the parts up ++$parts[$index - 1]; -- cgit v1.2.1