summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordbear496 <70439542+dbear496@users.noreply.github.com>2023-07-13 20:54:03 -0400
committerJohn Wiegley <johnw@newartisans.com>2024-08-06 15:38:57 -1000
commit9b3af746464cb094e3b3fd7c3ebf0ec74126ebac (patch)
treeb38aa47b7f18ab22e2f52dddd5b5ace6d689811b
parentd9967c2638052730c6eeb1624586d633d6482003 (diff)
downloadfork-ledger-9b3af746464cb094e3b3fd7c3ebf0ec74126ebac.tar.gz
fork-ledger-9b3af746464cb094e3b3fd7c3ebf0ec74126ebac.tar.bz2
fork-ledger-9b3af746464cb094e3b3fd7c3ebf0ec74126ebac.zip
add regress test for #2268
-rw-r--r--test/regress/2268.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/2268.test b/test/regress/2268.test
new file mode 100644
index 00000000..b7121f65
--- /dev/null
+++ b/test/regress/2268.test
@@ -0,0 +1,13 @@
+= expr 'has_tag("FOO")'
+ A 1 BTC @ $30000
+ A $-30000
+
+2010/05/31 tx
+ A 1 BTC @ $30000
+ A $-30000
+ ; :FOO:
+
+test balance
+ $-60000
+ 2 BTC A
+end test