Skip to content

Commit

Permalink
fix a build break in the blake3_c tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Sep 10, 2023
1 parent d6265da commit 02dec6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c/blake3_c_rust_bindings/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ fn test_fuzz_hasher() {
let mut total_input = 0;
// For each test, write 3 inputs of random length.
for _ in 0..3 {
let input_len = rng.gen_range(0, INPUT_MAX + 1);
let input_len = rng.gen_range(0..INPUT_MAX + 1);
dbg!(input_len);
let input = &input_buf[total_input..][..input_len];
hasher.update(input);
Expand Down

0 comments on commit 02dec6e

Please sign in to comment.