Skip to content

Commit

Permalink
nuking obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 24, 2024
1 parent 066a7a9 commit 5ce42f3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions noir-projects/aztec-nr/aztec/src/utils/bytes.nr
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,6 @@ mod test {
assert_eq(input, input_back);
}

#[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];
let _ignored_result = bytes_to_fields::<32>(input);
}

#[test(should_fail_with = "Field does not fit into remaining bytes")]
fn test_too_few_destination_bytes() {
// We should get an error here because first field gets converted to 31 bytes and the second field needs
Expand Down

0 comments on commit 5ce42f3

Please sign in to comment.