summaryrefslogtreecommitdiff
path: root/test/baseline/dir-tag.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/dir-tag.test')
-rw-r--r--test/baseline/dir-tag.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/baseline/dir-tag.test b/test/baseline/dir-tag.test
new file mode 100644
index 00000000..b1858146
--- /dev/null
+++ b/test/baseline/dir-tag.test
@@ -0,0 +1,21 @@
+tag Happy
+ check value == 'Valley'
+
+2012-02-27 * KFC
+ ; Happy: Valley
+ Expenses:Unknown $20.00
+ ; Happy: Summer
+ Assets:Cash
+
+2012-02-28 * KFC
+ food $20.00
+ Assets:Cash
+
+test reg
+12-Feb-27 KFC Expenses:Unknown $20.00 $20.00
+ Assets:Cash $-20.00 0
+12-Feb-28 KFC food $20.00 $20.00
+ Assets:Cash $-20.00 0
+__ERROR__
+Warning: Metadata check failed for (Happy: Summer): (value == "Valley")
+end test