aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-18 16:12:04 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-18 16:12:04 +0100
commitc583d0a8b47b763e42748466ca5396feacf48d25 (patch)
tree07098c47cacbeccbb828a2af07d09055a992c616 /src
parenta80d94ea0769069604e973265badaf1a602fa37f (diff)
fix testcase with new 1e-10 logic
Diffstat (limited to 'src')
-rw-r--r--src/util/test_amount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_amount.c b/src/util/test_amount.c
index dda31e74b..e176d2131 100644
--- a/src/util/test_amount.c
+++ b/src/util/test_amount.c
@@ -56,7 +56,7 @@ main(int argc,
&a1));
/* precision too high */
GNUNET_assert (GNUNET_SYSERR ==
- TALER_string_to_amount ("EUR:4.1234567",
+ TALER_string_to_amount ("EUR:4.123456789",
&a1));
/* value too big */
GNUNET_assert (GNUNET_SYSERR ==
@@ -168,7 +168,7 @@ main(int argc,
GNUNET_assert (GNUNET_YES ==
TALER_amount_normalize (&a3));
c = TALER_amount_to_string (&a3);
- GNUNET_assert (0 == strcmp ("EUR:6.000001",
+ GNUNET_assert (0 == strcmp ("EUR:6.00000001",
c));
GNUNET_free (c);