diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/numerics/CommodityAmount.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/numerics/CommodityAmount.cc b/tests/numerics/CommodityAmount.cc index 2f676697..ffedbdac 100644 --- a/tests/numerics/CommodityAmount.cc +++ b/tests/numerics/CommodityAmount.cc @@ -183,7 +183,7 @@ void CommodityAmountTestCase::testEquality() amount_t x9 = "123.45€"; amount_t x10 = "-123.45€"; - assertTrue(x0.null()); + assertTrue(x0.is_null()); assertTrue(x0.zero()); assertTrue(x0.realzero()); assertTrue(x0.sign() == 0); |