summaryrefslogtreecommitdiff
path: root/test/regress/178501DC.test
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2012-03-22 19:41:06 +0000
committerMartin Michlmayr <tbm@cyrius.com>2012-03-22 19:41:06 +0000
commit10e312cb78144f4d32cde8a5588880be36c927dc (patch)
treed364744f8f2235c6ad131f0f34a7ca2063bad940 /test/regress/178501DC.test
parentc69701cf81766b05d494eff372e67cb7983d6bcd (diff)
downloadfork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.gz
fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.tar.bz2
fork-ledger-10e312cb78144f4d32cde8a5588880be36c927dc.zip
Add more regression tests
Diffstat (limited to 'test/regress/178501DC.test')
-rw-r--r--test/regress/178501DC.test21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/regress/178501DC.test b/test/regress/178501DC.test
new file mode 100644
index 00000000..b5319ac8
--- /dev/null
+++ b/test/regress/178501DC.test
@@ -0,0 +1,21 @@
+; Test for: The bal report does not honor -r (ledger bal simon
+; would show all accounts, rather than just simon and the related
+; account).
+
+2011/10/26 trader joe's
+ simon $-50
+ alice $-50
+ expenses:food:groceries
+
+test bal -r simon
+ $-50 alice
+ $100 expenses:food:groceries
+--------------------
+ $50
+end test
+
+test reg -r simon
+11-Oct-26 trader joe's alice $-50 $-50
+ expense:food:groceries $100 $50
+end test
+