summaryrefslogtreecommitdiff
path: root/test/regress/55831A79.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 14:40:33 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 15:41:49 -0400
commit40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e (patch)
tree1acf02e4fffb46649e06d537451fe26ee988916e /test/regress/55831A79.test
parent42f94d2b8bcbc58abd5e09c0c1e98b8dd167552b (diff)
downloadfork-ledger-40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e.tar.gz
fork-ledger-40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e.tar.bz2
fork-ledger-40f2ff6d6f7902c4957e0710a5a9d09c1f49ad1e.zip
Added several new regression tests
Diffstat (limited to 'test/regress/55831A79.test')
-rw-r--r--test/regress/55831A79.test24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/55831A79.test b/test/regress/55831A79.test
new file mode 100644
index 00000000..30c09c3d
--- /dev/null
+++ b/test/regress/55831A79.test
@@ -0,0 +1,24 @@
+bal --args-only discover
+<<<
+2008/01/01 * previous balances
+ liabilities:credit cards:discover 4462 $-1094.38
+ equity:opening balances
+
+2008/01/18 * DISCOVER FEES
+ liabilities:credit cards:discover 4462:interest $-36.59
+ assets:bank:wells fargo:checking
+
+2008/01/18 * DISCOVER FEES
+ liabilities:credit cards:discover 4462:fee $-39
+ liabilities:credit cards:discover 4462:interest $-28.17
+ assets:bank:wells fargo:checking
+
+2008/3/1 * discover card payment
+ liabilities:credit cards:discover 4462 $1198.14
+ assets:bank:wells fargo:checking
+>>>1
+ 0 liabilities:credit cards:discover 4462
+ $-39.00 fee
+ $-64.76 interest
+>>>2
+=== 0