summaryrefslogtreecommitdiff
path: root/test/regress/012ADB60.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-22 23:42:18 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-22 23:42:18 -0500
commit5addacfbf21250204b8db25f0a4890c1299cb891 (patch)
tree9a4f9d35dd479cc8591a52d30c760f7f55758229 /test/regress/012ADB60.test
parent4e07084b0351f2ff75bbb960ff9b02b2f99e4b23 (diff)
downloadfork-ledger-5addacfbf21250204b8db25f0a4890c1299cb891.tar.gz
fork-ledger-5addacfbf21250204b8db25f0a4890c1299cb891.tar.bz2
fork-ledger-5addacfbf21250204b8db25f0a4890c1299cb891.zip
Fixed an interaction with equity and virtual accounts
Fixes #686
Diffstat (limited to 'test/regress/012ADB60.test')
-rw-r--r--test/regress/012ADB60.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/012ADB60.test b/test/regress/012ADB60.test
new file mode 100644
index 00000000..443b9e5b
--- /dev/null
+++ b/test/regress/012ADB60.test
@@ -0,0 +1,24 @@
+2005/01/03 * Pay Credit card
+ Liabilities:CredCard $1,000.00 ; Electronic/ACH Debit
+ Assets:Current:Checking ; Electronic/ACH Debit
+ (Virtualaccount) $1,000.00
+
+2006/01/03 Gift shop
+ Expenses:Gifts $46.50
+ * Liabilities:CredCard
+
+2006/01/03 Bike shop
+ Expenses:Misc $199.00
+ * Liabilities:CredCard
+ (testvirtual) $184.72
+
+2006/01/04 Store
+ Expenses:Misc $49.95
+ * Liabilities:CredCard
+
+test equity -e 2006
+2005/01/03 Opening Balances
+ Assets:Current:Checking $-1,000.00
+ Liabilities:CredCard $1,000.00
+ (Virtualaccount) $1,000.00
+end test