summaryrefslogtreecommitdiff
path: root/test/baseline/feat-balance_assert.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-06 03:31:46 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-06 03:31:46 -0600
commit5a027166cc0d5d72f52911665f27915f6fc8b061 (patch)
treec77645a3a4deaf0d4e95d4d1f1fae85317d90c14 /test/baseline/feat-balance_assert.test
parent97d68ebc8cf2bf88feffaedd6873934dc785c411 (diff)
downloadfork-ledger-5a027166cc0d5d72f52911665f27915f6fc8b061.tar.gz
fork-ledger-5a027166cc0d5d72f52911665f27915f6fc8b061.tar.bz2
fork-ledger-5a027166cc0d5d72f52911665f27915f6fc8b061.zip
Added balance assertion test
Diffstat (limited to 'test/baseline/feat-balance_assert.test')
-rw-r--r--test/baseline/feat-balance_assert.test13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/baseline/feat-balance_assert.test b/test/baseline/feat-balance_assert.test
new file mode 100644
index 00000000..a03cbb0e
--- /dev/null
+++ b/test/baseline/feat-balance_assert.test
@@ -0,0 +1,13 @@
+2012-01-01 Opening Balance
+ Assets:Checking $100
+ Equity
+
+2012-01-01 Reconciliation
+ [Assets:Checking] = $100
+
+test balance
+ $100 Assets:Checking
+ $-100 Equity
+--------------------
+ 0
+end test