diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-27 04:59:04 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-27 05:02:25 -0600 |
commit | 2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa (patch) | |
tree | 762118fc9fec617672c84980ba7efc9bd1f980f9 /test/baseline/dir-tag.test | |
parent | 0e7b4fb1821a80ee43fafd55447a01255564eb3d (diff) | |
download | fork-ledger-2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa.tar.gz fork-ledger-2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa.tar.bz2 fork-ledger-2ec35ea6e98dcfb03fb8c2e90b85991aaa7be2fa.zip |
Implement the "tag" metadata directive
Diffstat (limited to 'test/baseline/dir-tag.test')
-rw-r--r-- | test/baseline/dir-tag.test | 21 |
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 |