summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/02-number-handling.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02-number-handling.t b/t/02-number-handling.t
index 8ad787aa..177ce438 100644
--- a/t/02-number-handling.t
+++ b/t/02-number-handling.t
@@ -117,7 +117,7 @@ foreach my $format (0 .. $#formats) {
is($form->parse_amount(\%myconfig, ''), undef,
"Empty string returns undef");
- cmp_ok($form->parse_amount(\%myconfig, 'foo'), '==',
+ cmp_ok($form->parse_amount(\%myconfig, 'foo'), 'eq',
Math::BigFloat->bnan(), "Invalid string returns NaN");
}