diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-05-13 20:37:58 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-05-13 20:37:58 +0200 |
commit | b7d1ca4cd93ef8582b9b7d97e955ec5363ef2ae3 (patch) | |
tree | 4ef9710f33d7facf9ee5982cb830b601a4488293 /src/util/test_amount.c | |
parent | 89e21002d6e76148904bd96aaf9b2d3f5e5a2da1 (diff) |
strcasecmp
Diffstat (limited to 'src/util/test_amount.c')
-rw-r--r-- | src/util/test_amount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_amount.c b/src/util/test_amount.c index c94f24fe5..a45b71de7 100644 --- 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 */ |