summaryrefslogtreecommitdiff
path: root/test/regress/1894_1.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/1894_1.test')
-rw-r--r--test/regress/1894_1.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/regress/1894_1.test b/test/regress/1894_1.test
new file mode 100644
index 00000000..739db459
--- /dev/null
+++ b/test/regress/1894_1.test
@@ -0,0 +1,16 @@
+= /Expenses:Transportation/ and not expr "has_tag(/NOTAX/)"
+ Expenses:Tax 0.2
+ $account -0.2
+
+2020-05-06 * Test
+ Expenses:Transportation 200.00 EUR
+ Assets:Bank -200.00 EUR
+
+test bal
+ -200.00 EUR Assets:Bank
+ 200.00 EUR Expenses
+ 40.00 EUR Tax
+ 160.00 EUR Transportation
+--------------------
+ 0
+end test