Skip to content
Permalink
Browse files

;journal: tests: note surprising decimal mark parsing

[ci skip]
  • Loading branch information...
simonmichael committed Jul 9, 2019
1 parent 6c2398e commit 5ceb278296e671e136a0ee1d110eb1bc2dc71dd5
Showing with 13 additions and 0 deletions.
  1. +13 −0 tests/journal/amounts-and-commodities.test
@@ -150,3 +150,16 @@ $ hledger -f- print

$ hledger -f- print
> // # any stdout, no stderr, 0 exit code

# 13. Example of surprising decimal mark parsing behaviour.
# Without a commodity declaration, these amounts are parsed as 10 and 10000.
# <
# 2000/1/1
# a $-10,000
# b $10,000.00
#
# $ hledger -f- print
# could not balance this transaction (real postings are off by $9,990,000)
# 2000/01/01
# a $-10,000
# b $10,000,000

0 comments on commit 5ceb278

Please sign in to comment.
You can’t perform that action at this time.