Skip to content

Commit 085e7f5

Browse files
committed
fix tests
1 parent 5e2a759 commit 085e7f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/bignum_test.nr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ fn test_to_field_three_digits() {
383383
assert(result == field);
384384
}
385385

386-
#[test(should_fail_with = "validate_gt fail")]
386+
#[test(should_fail_with = "call to assert_max_bit_size")]
387387
fn test_to_field_three_digits_overflow() {
388388
let bn: BN254_Fq = BN254_Fq::from_limbs([
389389
0x4e6405505a33bb9b9c0563df2bd59a,
@@ -393,7 +393,7 @@ fn test_to_field_three_digits_overflow() {
393393
let _: Field = to_field(bn);
394394
}
395395

396-
#[test(should_fail_with = "validate_gt fail")]
396+
#[test(should_fail_with = "call to assert_max_bit_size")]
397397
fn test_to_field_too_many_digits() {
398398
let bn: BLS12_381_Fq = BLS12_381_Fq::from_limbs([
399399
0xea1742447ee9d92f9f18e1c80a481e,

0 commit comments

Comments
 (0)