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
"The actual value was an indexed and hashed value of the event argument. The expected value provided to the assertion should be the actual event argument (the pre-image of the hash). You provided the hash itself. Please supply the actual event argument (the pre-image of the hash) instead."
`The actual value was an indexed and hashed value of the event argument. The expected value provided to the assertion was hashed to produce ${expectedHash}. The actual hash and the expected hash ${actualArg.hash} did not match`
"The actual value was an indexed and hashed value of the event argument. The expected value provided to the assertion should be the actual event argument (the pre-image of the hash). You provided the hash itself. Please supply the actual event argument (the pre-image of the hash) instead."
`The actual value was an indexed and hashed value of the event argument. The expected value provided to the assertion was hashed to produce ${expectedHash}. The actual hash and the expected hash ${actualArg.hash} did not match`
'Error in "WithUintArg" event: Error in the 1st argument assertion: expected 1 to equal 2. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
136
+
'Error in "WithUintArg" event: Error in the 1st argument assertion: expected 1 to equal 2.'
`Error in "WithUintArray" event: Error in the 1st argument assertion: Error in the 1st argument assertion: expected 1 to equal 3. The numerical values of the given "bigint" and "number" inputs were compared, and they differed`
394
+
`Error in "WithUintArray" event: Error in the 1st argument assertion: Error in the 1st argument assertion: expected 1 to equal 3.`
'Error in "WithStructArg" event: Error in the 1st argument assertion: Error in the 1st argument assertion: expected 1 to equal 3. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
498
+
'Error in "WithStructArg" event: Error in the 1st argument assertion: Error in the 1st argument assertion: expected 1 to equal 3.'
'Error in "WithTwoUintArgs" event: Error in the 1st argument assertion: expected 1 to equal 2. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
517
+
'Error in "WithTwoUintArgs" event: Error in the 1st argument assertion: expected 1 to equal 2'
'Error in "WithTwoUintArgs" event: Error in the 2nd argument assertion: expected 2 to equal 1. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
528
+
'Error in "WithTwoUintArgs" event: Error in the 2nd argument assertion: expected 2 to equal 1.'
'Error in "WithUintArg" event: Error in the 1st argument assertion: expected 1 to equal 2. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
687
+
'Error in "WithUintArg" event: Error in the 1st argument assertion: expected 1 to equal 2.'
describe("INTEGRATION: Reverted with custom error",function(){
19
-
describe.skip("with the in-process hardhat network",function(){
19
+
describe("with the in-process hardhat network",function(){
20
20
useEnvironment("hardhat-project");
21
21
22
22
runTests();
@@ -237,7 +237,7 @@ describe("INTEGRATION: Reverted with custom error", function () {
237
237
.withArgs(2)
238
238
).to.be.rejectedWith(
239
239
AssertionError,
240
-
'Error in "CustomErrorWithUint" custom error: Error in the 1st argument assertion: expected 1 to equal 2. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
240
+
'Error in "CustomErrorWithUint" custom error: Error in the 1st argument assertion: expected 1 to equal 2.'
241
241
);
242
242
});
243
243
});
@@ -264,7 +264,7 @@ describe("INTEGRATION: Reverted with custom error", function () {
264
264
.withArgs(2,"foo")
265
265
).to.be.rejectedWith(
266
266
AssertionError,
267
-
'Error in "CustomErrorWithUintAndString" custom error: Error in the 1st argument assertion: expected 1 to equal 2. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
267
+
'Error in "CustomErrorWithUintAndString" custom error: Error in the 1st argument assertion: expected 1 to equal 2.'
268
268
);
269
269
});
270
270
@@ -282,7 +282,7 @@ describe("INTEGRATION: Reverted with custom error", function () {
282
282
);
283
283
});
284
284
285
-
it("Should if first prefdicate fails",asyncfunction(){
285
+
it("Should fail if first predicate throws",asyncfunction(){
@@ -343,7 +343,7 @@ describe("INTEGRATION: Reverted with custom error", function () {
343
343
.withArgs([3,2])
344
344
).to.be.rejectedWith(
345
345
AssertionError,
346
-
'Error in "CustomErrorWithPair" custom error: Error in the 1st argument assertion: Error in the 1st argument assertion: expected 1 to equal 3. The numerical values of the given "bigint" and "number" inputs were compared, and they differed'
346
+
'Error in "CustomErrorWithPair" custom error: Error in the 1st argument assertion: Error in the 1st argument assertion: expected 1 to equal 3.'
0 commit comments