commit b7d1ca4cd93ef8582b9b7d97e955ec5363ef2ae3
parent 89e21002d6e76148904bd96aaf9b2d3f5e5a2da1
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 13 May 2023 20:37:58 +0200
strcasecmp
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/test_amount.c b/src/util/test_amount.c
@@ -85,8 +85,8 @@ main (int argc,
GNUNET_assert (0 == a2.value);
GNUNET_assert (TALER_AMOUNT_FRAC_BASE / 100 * 2 == a2.fraction);
c = TALER_amount_to_string (&a2);
- GNUNET_assert (0 == strcmp ("eur:0.02",
- c));
+ GNUNET_assert (0 == strcasecmp ("eur:0.02",
+ c));
GNUNET_free (c);
/* test conversion with leading space and with fraction */