strcasecmp

This commit is contained in:
Christian Grothoff 2023-05-13 20:37:58 +02:00
parent 89e21002d6
commit b7d1ca4cd9
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -85,8 +85,8 @@ main (int argc,
GNUNET_assert (0 == a2.value); GNUNET_assert (0 == a2.value);
GNUNET_assert (TALER_AMOUNT_FRAC_BASE / 100 * 2 == a2.fraction); GNUNET_assert (TALER_AMOUNT_FRAC_BASE / 100 * 2 == a2.fraction);
c = TALER_amount_to_string (&a2); c = TALER_amount_to_string (&a2);
GNUNET_assert (0 == strcmp ("eur:0.02", GNUNET_assert (0 == strcasecmp ("eur:0.02",
c)); c));
GNUNET_free (c); GNUNET_free (c);
/* test conversion with leading space and with fraction */ /* test conversion with leading space and with fraction */