diff --git a/hledger/test/journal/amounts-and-commodities.test b/hledger/test/journal/amounts-and-commodities.test index a63acf0b1..a5331a209 100644 --- a/hledger/test/journal/amounts-and-commodities.test +++ b/hledger/test/journal/amounts-and-commodities.test @@ -284,3 +284,16 @@ $ hledger -f- print cur:e amt:100 >= +# 21. Unquoted commodity symbol on the left consisting of only numbers. +# It could happen.. +< +; intended "111" 2, parses as 1112. +2021-01-01 + (a) 111 2 + +$ hledger -f- print cur: amt:1112 +2021-01-01 + (a) 111 2 + +>= +