diff options
author | Alan Bram <alan.bram@cornell.edu> | 2021-04-05 19:22:33 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2021-04-10 11:37:53 -0700 |
commit | 8a87a8bd33cb428afc9472d5a8eb94ed07bf32aa (patch) | |
tree | 2a168375619426ac60de34ca0bb9a2e176bfdbc3 /test | |
parent | 8475839e4aff10de27893aed372fee19df449f4a (diff) | |
download | fork-ledger-8a87a8bd33cb428afc9472d5a8eb94ed07bf32aa.tar.gz fork-ledger-8a87a8bd33cb428afc9472d5a8eb94ed07bf32aa.tar.bz2 fork-ledger-8a87a8bd33cb428afc9472d5a8eb94ed07bf32aa.zip |
Fix using day-of-week names for `xact` command
Also fix end-of-command boundary checks for keywords "at", "to", etc.
Diffstat (limited to 'test')
-rw-r--r-- | test/baseline/cmd-entry.test | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/baseline/cmd-entry.test b/test/baseline/cmd-entry.test index 0de39b9c..152a4738 100644 --- a/test/baseline/cmd-entry.test +++ b/test/baseline/cmd-entry.test @@ -41,3 +41,26 @@ __ERROR__ Error: No accounts, and no past transaction matching 'no:such:account' end test +test entry --now 2012/03/25 thursday "Test 1" +2012/03/22 Test 1 + A $10.00 + B +end test + +test --now 2012/03/25 entry tue at "Test 2" +2012/03/20 Test 2 + C 20.00 EUR + D +end test + +test --now 2012/03/25 entry "Test 1" from D +2012/03/25 Test 1 + A $10.00 + D +end test + +test --now 2012/03/25 entry "Test 1" from -> 1 +__ERROR__ +Error: Invalid xact command arguments +end test + |