From 8eb83ecc9fac4749d730c5929adac5f183fa161d Mon Sep 17 00:00:00 2001 From: tripun Date: Sat, 9 Aug 2014 18:34:52 +0530 Subject: add test for alternative of tail, i.e last --- test/baseline/opt-tail.test | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/baseline/opt-tail.test') 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 + -- cgit v1.2.3