diff options
author | tripun <tripun@gmail.com> | 2014-08-09 18:34:52 +0530 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2014-08-10 08:42:40 +0200 |
commit | 8eb83ecc9fac4749d730c5929adac5f183fa161d (patch) | |
tree | 2f906679d923b2d735188359e7e85c02be35dd5c /test/baseline/opt-tail.test | |
parent | 1132c78d343a197e357dcb791b0a7d1401455fe0 (diff) | |
download | fork-ledger-8eb83ecc9fac4749d730c5929adac5f183fa161d.tar.gz fork-ledger-8eb83ecc9fac4749d730c5929adac5f183fa161d.tar.bz2 fork-ledger-8eb83ecc9fac4749d730c5929adac5f183fa161d.zip |
add test for alternative of tail, i.e last
Diffstat (limited to 'test/baseline/opt-tail.test')
-rw-r--r-- | test/baseline/opt-tail.test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/baseline/opt-tail.test b/test/baseline/opt-tail.test index 4341347c..5c01c71d 100644 --- a/test/baseline/opt-tail.test +++ b/test/baseline/opt-tail.test @@ -202,3 +202,17 @@ test reg --tail=10 books 09-Dec-01 December Expenses:Books $120.00 $3000.00 09-Dec-31 End of December Expenses:Books $120.00 $3120.00 end test + +test reg --last=10 books +09-Aug-01 August Expenses:Books $80.00 $2200.00 +09-Aug-31 End of August Expenses:Books $80.00 $2280.00 +09-Sep-01 September Expenses:Books $90.00 $2370.00 +09-Sep-30 End of September Expenses:Books $90.00 $2460.00 +09-Oct-01 October Expenses:Books $100.00 $2560.00 +09-Oct-31 End of October Expenses:Books $100.00 $2660.00 +09-Nov-01 November Expenses:Books $110.00 $2770.00 +09-Nov-30 End of November Expenses:Books $110.00 $2880.00 +09-Dec-01 December Expenses:Books $120.00 $3000.00 +09-Dec-31 End of December Expenses:Books $120.00 $3120.00 +end test + |