diff options
Diffstat (limited to 'test/baseline/opt-hashes-neg.test')
-rw-r--r-- | test/baseline/opt-hashes-neg.test | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/baseline/opt-hashes-neg.test b/test/baseline/opt-hashes-neg.test new file mode 100644 index 00000000..6e0e9164 --- /dev/null +++ b/test/baseline/opt-hashes-neg.test @@ -0,0 +1,23 @@ +2008/01/01 January + Expenses:Books $10.00 + Assets:Cash + +2008/01/31 End of January + Expenses:Books $10.00 + Assets:Cash + +2008/02/01 February + ; Hash: f80797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa + Expenses:Books $20.00 + Assets:Cash + +test print --hashes=sha512 -> 1 +__ERROR__ +While parsing file "$FILE", line 12: +While parsing transaction: +> 2008/02/01 February +> ; Hash: f80797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa +> Expenses:Books $20.00 +> Assets:Cash +Error: Expected hash f70797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa != f80797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa +end test |