Skip to content

Commit c2c7ad0

Browse files
committed
fix revert messages
1 parent 9502359 commit c2c7ad0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/token/ERC20/ERC20Base.behavior.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export function describeBehaviorOfERC20Base(
238238
receiver.address,
239239
amount,
240240
),
241-
).to.be.revertedWith('ERC20: transfer amount exceeds allowance');
241+
).to.be.revertedWith('ERC20: insufficient allowance');
242242
});
243243
});
244244
});

spec/token/ERC20/ERC20Extended.behavior.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export function describeBehaviorOfERC20Extended(
164164
spender.address,
165165
ethers.constants.One,
166166
),
167-
).to.be.revertedWith('ERC20Extended: insufficient allowance');
167+
).to.be.revertedWith('ERC20: insufficient allowance');
168168
});
169169
});
170170
});

0 commit comments

Comments
 (0)