summaryrefslogtreecommitdiff
path: root/test/baseline/opt-head.test
diff options
context:
space:
mode:
authortripun <tripun@gmail.com>2014-08-09 15:53:56 +0530
committerMartin Michlmayr <tbm@cyrius.com>2014-08-10 08:42:09 +0200
commit6ba74033de8b616007f5173c43da4b26e96d91c0 (patch)
tree85feab16160082510a2da7c69843bb637a2d7ce8 /test/baseline/opt-head.test
parent025d136974939af598ba3a07dd41ca460b5868f9 (diff)
downloadfork-ledger-6ba74033de8b616007f5173c43da4b26e96d91c0.tar.gz
fork-ledger-6ba74033de8b616007f5173c43da4b26e96d91c0.tar.bz2
fork-ledger-6ba74033de8b616007f5173c43da4b26e96d91c0.zip
add alternative for --head , i.e --first
Diffstat (limited to 'test/baseline/opt-head.test')
-rw-r--r--test/baseline/opt-head.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/baseline/opt-head.test b/test/baseline/opt-head.test
index d0f0368c..f5addf5f 100644
--- a/test/baseline/opt-head.test
+++ b/test/baseline/opt-head.test
@@ -202,3 +202,17 @@ test reg --head=10 books
08-May-01 May Expenses:Books $50.00 $250.00
08-May-31 End of May Expenses:Books $50.00 $300.00
end test
+
+test reg --first=10 books
+08-Jan-01 January Expenses:Books $10.00 $10.00
+08-Jan-31 End of January Expenses:Books $10.00 $20.00
+08-Feb-01 February Expenses:Books $20.00 $40.00
+08-Feb-28 End of February Expenses:Books $20.00 $60.00
+08-Mar-01 March Expenses:Books $30.00 $90.00
+08-Mar-31 End of March Expenses:Books $30.00 $120.00
+08-Apr-01 April Expenses:Books $40.00 $160.00
+08-Apr-30 End of April Expenses:Books $40.00 $200.00
+08-May-01 May Expenses:Books $50.00 $250.00
+08-May-31 End of May Expenses:Books $50.00 $300.00
+end test
+