summaryrefslogtreecommitdiff
path: root/test/regress/178501DC.test
diff options
context:
space:
mode:
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
+