Skip to content

Commit

Permalink
updated error message in test
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 22, 2024
1 parent 6a6d51c commit 84342d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/utils/bytes.nr
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ mod test {
assert_eq(input, input_back);
}

#[test(should_fail_with = "Bytes do not fit into fields")]
#[test(should_fail_with = "Argument is false")]
fn test_too_few_destination_fields() {
// This should fail because we need 2 fields to store 32 bytes but we only provide 1.
let input = [0 as u8; 32];
Expand Down

0 comments on commit 84342d5

Please sign in to comment.