summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/1702.test17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/regress/1702.test b/test/regress/1702.test
new file mode 100644
index 00000000..813cf37b
--- /dev/null
+++ b/test/regress/1702.test
@@ -0,0 +1,17 @@
+tag Foo
+ assert value =~ /^Bar$/
+
+2019/01/01 * Payee
+ ;; Foo: Bar
+ Income:Foo $-1
+ Assets:Cash $1
+2019/01/01 * Another Payee
+ Assets:Cash $-1
+ Expenses:Baz $1
+
+test bal
+ $1 Expenses:Baz
+ $-1 Income:Foo
+--------------------
+ 0
+end test