summaryrefslogtreecommitdiff
path: root/test/baseline/opt-hashes-2.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2023-11-27 11:49:45 -0800
committerJohn Wiegley <johnw@newartisans.com>2024-08-05 08:35:56 -0700
commitadddd7d535d83cf92ea9d580cbe4aba5aba2f579 (patch)
tree2a836325d15a7c669981075049e29a20dd34fe9a /test/baseline/opt-hashes-2.test
parent67de3bce35de8158cd25750901a322cc02071c95 (diff)
downloadfork-ledger-adddd7d535d83cf92ea9d580cbe4aba5aba2f579.tar.gz
fork-ledger-adddd7d535d83cf92ea9d580cbe4aba5aba2f579.tar.bz2
fork-ledger-adddd7d535d83cf92ea9d580cbe4aba5aba2f579.zip
Improvements to the hashing tests
Diffstat (limited to 'test/baseline/opt-hashes-2.test')
-rw-r--r--test/baseline/opt-hashes-2.test32
1 files changed, 32 insertions, 0 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