diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/baseline/cmd-print.test | 2 | ||||
-rw-r--r-- | test/unit/t_amount.cc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/baseline/cmd-print.test b/test/baseline/cmd-print.test index 759a2334..6099b39f 100644 --- a/test/baseline/cmd-print.test +++ b/test/baseline/cmd-print.test @@ -1,4 +1,4 @@ -print --european +print --decimal-comma <<< 2008/12/31 Market Expenses:Food ($10,00 + $2,50) diff --git a/test/unit/t_amount.cc b/test/unit/t_amount.cc index 2c91ee98..63d82675 100644 --- a/test/unit/t_amount.cc +++ b/test/unit/t_amount.cc @@ -64,9 +64,9 @@ void AmountTestCase::testParser() x16.parse("$2000,00"); assertEqual(string("$2.000,00"), x16.to_string()); - // Since European-ness is an additive quality, we must switch back - // to American-ness manually - x15.commodity().drop_flags(COMMODITY_STYLE_EUROPEAN); + // Since use of a decimal-comma is an additive quality, we must switch back + // to decimal-period manually. + x15.commodity().drop_flags(COMMODITY_STYLE_DECIMAL_COMMA); amount_t x17("$1,000,000.00"); // parsing this switches back to American |