diff options
Diffstat (limited to 'src/testing')
| -rw-r--r-- | src/testing/testing_api_cmd_exec_closer.c | 2 | ||||
| -rw-r--r-- | src/testing/testing_api_cmd_refresh.c | 4 | ||||
| -rw-r--r-- | src/testing/testing_api_cmd_withdraw.c | 2 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/src/testing/testing_api_cmd_exec_closer.c b/src/testing/testing_api_cmd_exec_closer.c index 78369699..d604ecec 100644 --- a/src/testing/testing_api_cmd_exec_closer.c +++ b/src/testing/testing_api_cmd_exec_closer.c @@ -239,7 +239,7 @@ TALER_TESTING_cmd_exec_closer (const char *label,      }      /* expected amount includes fee, while our argument         gives the amount _without_ the fee. So add the fee. */ -    GNUNET_assert (GNUNET_OK == +    GNUNET_assert (0 <=                     TALER_amount_add (&as->reserve_history.amount,                                       &as->reserve_history.amount,                                       &as->reserve_history.details.close_details. diff --git a/src/testing/testing_api_cmd_refresh.c b/src/testing/testing_api_cmd_refresh.c index 09228af8..92229cc7 100644 --- a/src/testing/testing_api_cmd_refresh.c +++ b/src/testing/testing_api_cmd_refresh.c @@ -1053,11 +1053,11 @@ melt_run (void *cls,          TALER_TESTING_interpreter_fail (rms->is);          return;        } -      GNUNET_assert (GNUNET_OK == +      GNUNET_assert (0 <=                       TALER_amount_add (&melt_amount,                                         &melt_amount,                                         &fresh_amount)); -      GNUNET_assert (GNUNET_OK == +      GNUNET_assert (0 <=                       TALER_amount_add (&melt_amount,                                         &melt_amount,                                         &fresh_pk->fee_withdraw)); diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c index e277da14..d863e406 100644 --- a/src/testing/testing_api_cmd_withdraw.c +++ b/src/testing/testing_api_cmd_withdraw.c @@ -331,7 +331,7 @@ withdraw_run (void *cls,      ws->amount = ws->pk->value;    }    ws->reserve_history.type = TALER_EXCHANGE_RTT_WITHDRAWAL; -  GNUNET_assert (GNUNET_OK == +  GNUNET_assert (0 <=                   TALER_amount_add (&ws->reserve_history.amount,                                     &ws->amount,                                     &ws->pk->fee_withdraw)); | 
