summaryrefslogtreecommitdiff
path: root/test/regress/3AAB00ED.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/3AAB00ED.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/3AAB00ED.test')
-rw-r--r--test/regress/3AAB00ED.test23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/regress/3AAB00ED.test b/test/regress/3AAB00ED.test
new file mode 100644
index 00000000..217917b3
--- /dev/null
+++ b/test/regress/3AAB00ED.test
@@ -0,0 +1,23 @@
+; Test for: --sort d not working with -p
+
+2009-01-01 Opening Balances
+ Assets:Checking 100.00 EUR
+ Equity:Opening Balances
+
+2009-03-01 Test
+ Expenses:Phone 10.00 EUR
+ Assets:Checking
+
+2009-02-01 Test
+ Expenses:Phone 10.00 EUR
+ Assets:Checking
+
+test --sort d -p "until 2010" reg
+09-Jan-01 Opening Balances Assets:Checking 100.00 EUR 100.00 EUR
+ Equit:Opening Balances -100.00 EUR 0
+09-Feb-01 Test Expenses:Phone 10.00 EUR 10.00 EUR
+ Assets:Checking -10.00 EUR 0
+09-Mar-01 Test Expenses:Phone 10.00 EUR 10.00 EUR
+ Assets:Checking -10.00 EUR 0
+end test
+