aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2020-01-11 00:23:07 -0500
committerJack O'Connor <[email protected]>2020-01-11 00:23:07 -0500
commit793c8a2444b2aa3873ff0f5192d9fcd28eb588bf (patch)
tree65ad3d68e992c99d20b6038045e16c9a7dd084f1
parentd7d71b2c5fb4aad6c50e1302ccd7d3be2e3d321d (diff)
disambiguate the two test
We can't change the context used in test_vectors.json without breaking people, but we can change the one in unit tests.
-rw-r--r--src/test.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.rs b/src/test.rs
index df0822b..e85d3dc 100644
--- a/src/test.rs
+++ b/src/test.rs
@@ -298,7 +298,7 @@ fn test_compare_reference_impl() {
// derive_key
{
- let context = "BLAKE3 2019-12-27 16:13:59 example context";
+ let context = "BLAKE3 2019-12-27 16:13:59 example context (not the test vector one)";
let mut reference_hasher = reference_impl::Hasher::new_derive_key(context);
reference_hasher.update(input);
let mut expected_out = [0; OUT];