summaryrefslogtreecommitdiff
path: root/test/baseline/opt-hashes-neg.test
blob: 6e0e9164038aec31fc880d21e0063441c64a760f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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