summaryrefslogtreecommitdiff
path: root/test/baseline/opt-hashes-sha512_256.test
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2023-11-30 12:38:44 -0800
committerJohn Wiegley <johnw@newartisans.com>2024-08-05 08:35:56 -0700
commit75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c (patch)
tree896d7f2d1496bd19b2c5ba7a8b97285908bfde0c /test/baseline/opt-hashes-sha512_256.test
parentf230125ecc0761e6bd082ac0d916db4f17f0278d (diff)
downloadfork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.gz
fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.bz2
fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.zip
Add support for --hashes=sha512_256 as another algorithm
Diffstat (limited to 'test/baseline/opt-hashes-sha512_256.test')
-rw-r--r--test/baseline/opt-hashes-sha512_256.test28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/baseline/opt-hashes-sha512_256.test b/test/baseline/opt-hashes-sha512_256.test
new file mode 100644
index 00000000..f269652d
--- /dev/null
+++ b/test/baseline/opt-hashes-sha512_256.test
@@ -0,0 +1,28 @@
+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
+ Assets:Cash
+ Expenses:Books $20.00
+
+test print --hashes=sha512_256
+2008/01/01 January
+ ; Hash: c0f3322857def0d32bd2c9398e0785aacc8206f9ba64ef923978cbdcea13f59c
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/01/31 End of January
+ ; Hash: 151aa236cc3c632e492a94739d92fa76f321939dac04102b4c5ef893384ac839
+ Expenses:Books $10.00
+ Assets:Cash
+
+2008/02/01 February
+ ; Hash: 0336590b40e1fc83d6ade4a8c8e8f1c75af10deaac2be80580fbb73b0086324d
+ Assets:Cash
+ Expenses:Books $20.00
+end test