diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-27 12:38:31 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-27 12:38:31 -0600 |
commit | 9240403011f275c2a2b6b02141635359a8a6ae17 (patch) | |
tree | 3e5a43e5fefe3fe1501a162289a7edce0720ab86 /test/baseline/dir-account.test | |
parent | d51d33d788653383764f27a021b42916a15da509 (diff) | |
download | fork-ledger-9240403011f275c2a2b6b02141635359a8a6ae17.tar.gz fork-ledger-9240403011f275c2a2b6b02141635359a8a6ae17.tar.bz2 fork-ledger-9240403011f275c2a2b6b02141635359a8a6ae17.zip |
Improved a test
Diffstat (limited to 'test/baseline/dir-account.test')
-rw-r--r-- | test/baseline/dir-account.test | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/baseline/dir-account.test b/test/baseline/dir-account.test index b049ae83..39831663 100644 --- a/test/baseline/dir-account.test +++ b/test/baseline/dir-account.test @@ -1,3 +1,9 @@ +--explicit +--pedantic + +commodity $ + format $1,000.00 + account Assets:Cash assert abs(amount) <= 20 check commodity == '$' @@ -6,9 +12,6 @@ account Expenses:Food alias food payee KFC -commodity $ - format $1,000.00 - 2012-02-27 KFC Expenses:Unknown $20.00 Assets:Cash @@ -17,7 +20,7 @@ commodity $ food $20.00 Assets:Cash -test reg --strict +test reg 12-Feb-27 KFC Expenses:Food $20.00 $20.00 Assets:Cash $-20.00 0 12-Feb-28 KFC Expenses:Food $20.00 $20.00 |