diff options
Diffstat (limited to 'test/baseline')
-rw-r--r-- | test/baseline/opt-hashes-2.test | 32 | ||||
-rw-r--r-- | test/baseline/opt-hashes-neg.test | 2 | ||||
-rw-r--r-- | test/baseline/opt-hashes.test | 6 |
3 files changed, 36 insertions, 4 deletions
diff --git a/test/baseline/opt-hashes-2.test b/test/baseline/opt-hashes-2.test new file mode 100644 index 00000000..e4fe8c6b --- /dev/null +++ b/test/baseline/opt-hashes-2.test @@ -0,0 +1,32 @@ +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 + ; Some other comment + Assets:Cash + ; Some other comment + Expenses:Books $20.00 + +test print --hashes=sha512 +2008/01/01 January + ; Hash: c0f3322857def0d32bd2c9398e0785aacc8206f9ba64ef923978cbdcea13f59ccd44c1b245943ad9402fb1b82060de271d13d9ec48ad3ecae08af1f6755a0b65 + Expenses:Books $10.00 + Assets:Cash + +2008/01/31 End of January + ; Hash: 0b28fde8242881a4e7311a57d46c972d2fcbafe9358e9f26fcd27169941d4c21dffcebc92ea27004659a663b9b2eb88ff050a2f37088bd6dabe732f5d8427293 + Expenses:Books $10.00 + Assets:Cash + +2008/02/01 February + ; Some other comment + ; Hash: f8b26ea0259aafe4c8ab280348b2954856cc089470275f2fbcdc33ac09dc9dae1b944c02647fd603d5347a4b17af3ebd034c74e90eb784a5255229be49c8f2fe + Assets:Cash + ; Some other comment + Expenses:Books $20.00 +end test diff --git a/test/baseline/opt-hashes-neg.test b/test/baseline/opt-hashes-neg.test index 6e0e9164..16cd8fac 100644 --- a/test/baseline/opt-hashes-neg.test +++ b/test/baseline/opt-hashes-neg.test @@ -19,5 +19,5 @@ While parsing transaction: > ; Hash: f80797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa > Expenses:Books $20.00 > Assets:Cash -Error: Expected hash f70797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa != f80797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa +Error: Expected hash f8b26ea0259aafe4c8ab280348b2954856cc089470275f2fbcdc33ac09dc9dae1b944c02647fd603d5347a4b17af3ebd034c74e90eb784a5255229be49c8f2fe != f80797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa end test diff --git a/test/baseline/opt-hashes.test b/test/baseline/opt-hashes.test index 2ce317f0..741e4fbc 100644 --- a/test/baseline/opt-hashes.test +++ b/test/baseline/opt-hashes.test @@ -12,17 +12,17 @@ test print --hashes=sha512 2008/01/01 January - ; Hash: e5aed085f0426d610bcbc20855ee4c36611f7c02c4534433164100c3b143fb49fb5190ea97b18eab1b479ef3032325c1887f9150357745f11091675fe71c2a42 + ; Hash: c0f3322857def0d32bd2c9398e0785aacc8206f9ba64ef923978cbdcea13f59ccd44c1b245943ad9402fb1b82060de271d13d9ec48ad3ecae08af1f6755a0b65 Expenses:Books $10.00 Assets:Cash 2008/01/31 End of January - ; Hash: 7e4853202dd22abf6419aa5f2dbdd4113a93e710d271f17f24428a0703b17b9640cae956d1521eb5f51244b53a47755bb3641490385053cc9aadb70255a6a52e + ; Hash: 0b28fde8242881a4e7311a57d46c972d2fcbafe9358e9f26fcd27169941d4c21dffcebc92ea27004659a663b9b2eb88ff050a2f37088bd6dabe732f5d8427293 Expenses:Books $10.00 Assets:Cash 2008/02/01 February - ; Hash: f70797304b8d9acb2084772364ee717f0b724cddb1a9ccb6a3fb8d9cb803fe3b9b7a458211a7fe818578b6ec75a1a31acbcf8e2926ea349141568252966189aa + ; Hash: f8b26ea0259aafe4c8ab280348b2954856cc089470275f2fbcdc33ac09dc9dae1b944c02647fd603d5347a4b17af3ebd034c74e90eb784a5255229be49c8f2fe Expenses:Books $20.00 Assets:Cash end test |