From 5797c703dad0a68b52c28ebbaf9520656585ed7e Mon Sep 17 00:00:00 2001 From: "Michael J. Klein" Date: Tue, 30 Jul 2024 12:37:59 -0400 Subject: [PATCH] mark test as expected failure w/ linked issue, cargo clippy --- acvm-repo/acvm/tests/solver.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/acvm-repo/acvm/tests/solver.rs b/acvm-repo/acvm/tests/solver.rs index f4bcb922ed3..279b0444609 100644 --- a/acvm-repo/acvm/tests/solver.rs +++ b/acvm-repo/acvm/tests/solver.rs @@ -841,7 +841,7 @@ prop_compose! { } fn field_element_ones() -> FieldElement { - let exponent: FieldElement = (253 as u128).into(); + let exponent: FieldElement = (253_u128).into(); FieldElement::from(2u128).pow(&exponent) - FieldElement::one() } @@ -866,6 +866,8 @@ proptest! { } #[test] + // TODO(https://github.com/noir-lang/noir/issues/5638) + #[should_panic(expected = "assertion failed: `(left == right)`")] fn xor_associative(x in field_element(), y in field_element(), z in field_element(), use_constant_xy: bool, use_constant_yz: bool) { let (lhs, rhs) = prop_assert_associative(xor_op, x, y, z, use_constant_xy, use_constant_yz); prop_assert_eq!(lhs, rhs);