summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKuang-che Wu <kcwu@google.com>2024-10-10 11:49:12 +0800
committerJohn Wiegley <johnw@newartisans.com>2024-10-11 18:34:47 -0400
commit033759c208cfae3d11851d6874fc83e7d1866c84 (patch)
tree58d20be31083bb1401b6f651901f3cb91a0e369e /test
parentd5c1735aaa371080e3a4ef68361e23f4aef6d94c (diff)
downloadfork-ledger-033759c208cfae3d11851d6874fc83e7d1866c84.tar.gz
fork-ledger-033759c208cfae3d11851d6874fc83e7d1866c84.tar.bz2
fork-ledger-033759c208cfae3d11851d6874fc83e7d1866c84.zip
also follow precision from balance assignmentHEADmaster
Fixes #2129
Diffstat (limited to 'test')
-rw-r--r--test/regress/1654.test10
-rw-r--r--test/regress/640D3205.test2
2 files changed, 11 insertions, 1 deletions
diff --git a/test/regress/1654.test b/test/regress/1654.test
new file mode 100644
index 00000000..282f77be
--- /dev/null
+++ b/test/regress/1654.test
@@ -0,0 +1,10 @@
+2018/01/01 foo
+ Account = 10 USD
+ Equity
+
+test balance
+ 10 USD Account
+ -10 USD Equity
+--------------------
+ 0
+end test
diff --git a/test/regress/640D3205.test b/test/regress/640D3205.test
index f43b850f..4f78f048 100644
--- a/test/regress/640D3205.test
+++ b/test/regress/640D3205.test
@@ -14,7 +14,7 @@ test print
Income:Somewhere
2008/12/31 * Interest
- Assets:Brokerage $200.00 = $1000.00
+ Assets:Brokerage $200.00 = $1,000.00
Income:Somewhere
end test