You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Error in "CustomErrorWithPair" custom error: Error in the 1st argument assertion: Expected arguments array to have length 3, but it has 2'
345
+
);
346
+
});
339
347
});
340
348
341
349
it("Should fail when used with .not.",asyncfunction(){
@@ -388,7 +396,7 @@ describe("INTEGRATION: Reverted with custom error", function () {
388
396
.withArgs(()=>false)
389
397
).to.be.rejectedWith(
390
398
AssertionError,
391
-
"The predicate for the 1st custom error argument did not return true"
399
+
'Error in "CustomErrorWithUint" custom error: Error in the 1st argument assertion: The predicate did not return true'
392
400
);
393
401
});
394
402
@@ -399,7 +407,7 @@ describe("INTEGRATION: Reverted with custom error", function () {
399
407
.withArgs(anyUint)
400
408
).to.be.rejectedWith(
401
409
AssertionError,
402
-
"The predicate for the 1st custom error argument threw when called: anyUint expected its argument to be an unsigned integer, but it was negative, with value -1"
410
+
'Error in "CustomErrorWithInt" custom error: Error in the 1st argument assertion: The predicate threw when called: anyUint expected its argument to be an unsigned integer, but it was negative, with value -1'
0 commit comments