summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-27 21:05:19 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-27 21:05:19 +0000
commitbc0d73eaf87c65d11b4e00ba0c0dd02ac4ed1c93 (patch)
tree03487cd84770477b9fc257e90e6a45a158436720 /t
parentc43137f749d2ced04753b00dfed6797d6c7e1ef4 (diff)
One more 'Expected nan, got nan' bug fixed
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@345 4979c152-3d1c-0410-bac9-87ea11338e46
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");
}