summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordbear496 <70439542+dbear496@users.noreply.github.com>2023-07-13 17:03:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2023-07-16 05:22:57 -0700
commit4a5b5c4db575710e910913c95f7b13419fe09919 (patch)
treedfc26c4f93d7df759d45e1f0553276a94f1e4e76
parentd556f3bcb10269ae6dc746ab75b6332cafb21b89 (diff)
downloadfork-ledger-4a5b5c4db575710e910913c95f7b13419fe09919.tar.gz
fork-ledger-4a5b5c4db575710e910913c95f7b13419fe09919.tar.bz2
fork-ledger-4a5b5c4db575710e910913c95f7b13419fe09919.zip
add regress test for issue #2270
-rw-r--r--test/regress/2270.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/2270.test b/test/regress/2270.test
new file mode 100644
index 00000000..0a91104c
--- /dev/null
+++ b/test/regress/2270.test
@@ -0,0 +1,13 @@
+2023-07-10 * tx
+ A 1 USD
+ B -1 USD
+ C 1 BTC
+ D -1 BTC
+ E
+
+test register --columns 80
+23-Jul-10 tx A 1 USD 1 USD
+ B -1 USD 0
+ C 1 BTC 1 BTC
+ D -1 BTC 0
+end test