From 32b42a6c8082e2567a73365d48696354f895c2f9 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 21 Apr 2021 08:09:36 -1000 Subject: [PATCH] ;journal: another test for #1532 --- hledger/test/journal/amounts-and-commodities.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 + +>= +