We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e2a759 commit 085e7f5Copy full SHA for 085e7f5
src/tests/bignum_test.nr
@@ -383,7 +383,7 @@ fn test_to_field_three_digits() {
383
assert(result == field);
384
}
385
386
-#[test(should_fail_with = "validate_gt fail")]
+#[test(should_fail_with = "call to assert_max_bit_size")]
387
fn test_to_field_three_digits_overflow() {
388
let bn: BN254_Fq = BN254_Fq::from_limbs([
389
0x4e6405505a33bb9b9c0563df2bd59a,
@@ -393,7 +393,7 @@ fn test_to_field_three_digits_overflow() {
393
let _: Field = to_field(bn);
394
395
396
397
fn test_to_field_too_many_digits() {
398
let bn: BLS12_381_Fq = BLS12_381_Fq::from_limbs([
399
0xea1742447ee9d92f9f18e1c80a481e,
0 commit comments