Skip to content

Commit 44061c2

Browse files
committed
add test and update rust deps
1 parent a45d6d3 commit 44061c2

File tree

2 files changed

+65
-14
lines changed

2 files changed

+65
-14
lines changed

native/blake3/Cargo.lock

+55-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/blake3_test.exs

+10
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,14 @@ defmodule Blake3Test do
111111

112112
assert hash1 == hash2
113113
end
114+
115+
test "update_with_join can be used inplace of update" do
116+
hasher = Blake3.new()
117+
118+
Blake3.update_with_join(hasher, "foo")
119+
Blake3.update_with_join(hasher, "bar")
120+
Blake3.update_with_join(hasher, "baz")
121+
122+
assert is_binary(Blake3.finalize(hasher))
123+
end
114124
end

0 commit comments

Comments
 (0)