This commit is contained in:
Francisco Giordano
2021-01-27 18:14:07 -03:00
parent 5609cd4c74
commit fdf57a9788
3 changed files with 6 additions and 10 deletions

View File

@ -26,7 +26,7 @@ contract('SafeMath', function (accounts) {
}
async function testFailsCommutative (fn, lhs, rhs, reason, ...extra) {
if (reason == undefined) {
if (reason === undefined) {
await expectRevert.unspecified(fn(lhs, rhs, ...extra));
await expectRevert.unspecified(fn(rhs, lhs, ...extra));
} else {