Przeglądaj źródła

Remove bad SafeCast test

Francisco Giordano 4 lat temu
rodzic
commit
47e37975c9
1 zmienionych plików z 0 dodań i 7 usunięć
  1. 0 7
      test/utils/SafeCast.test.js

+ 0 - 7
test/utils/SafeCast.test.js

@@ -73,13 +73,6 @@ contract('SafeCast', async (accounts) => {
         'SafeCast: value must be positive',
       );
     });
-
-    it(`reverts when casting UINT256_MAX (${maxUint256})`, async function () {
-      await expectRevert(
-        this.safeCast.toUint256(maxUint256),
-        'SafeCast: value must be positive',
-      );
-    });
   });
 
   function testToInt (bits) {