diff options
-rwxr-xr-x | t/op/pack.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/op/pack.t b/t/op/pack.t index 2c45fdd483..691a1a4096 100755 --- a/t/op/pack.t +++ b/t/op/pack.t @@ -20,8 +20,8 @@ print ($#ary == $#ary2 ? "ok 1\n" : "not ok 1\n"); $out1=join(':',@ary); $out2=join(':',@ary2); # Using long double NVs may introduce greater accuracy than wanted. -$out1 =~ s/:9\.87654321097999\d*:/:9.87654321098:/, -$out2 =~ s/:9\.87654321097999\d*:/:9.87654321098:/ +$out1 =~ s/:9\.87654321097999\d*:/:9.87654321098:/; + $out2 =~ s/:9\.87654321097999\d*:/:9.87654321098:/; print ($out1 eq $out2? "ok 2\n" : "not ok 2\n"); print ($foo =~ /def/ ? "ok 3\n" : "not ok 3\n"); |