Update contracts/utils/test/safe_math.ts

Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
This commit is contained in:
James Towle 2019-07-30 09:51:46 -07:00 committed by Alex Towle
parent f044f364cb
commit 8cf4fb9adc

View File

@ -134,7 +134,7 @@ describe('SafeMath', () => {
expect(result).bignumber.to.be.eq(constants.ZERO_AMOUNT); expect(result).bignumber.to.be.eq(constants.ZERO_AMOUNT);
}); });
it('should return second argument if it is greater than the first', async () => { it('should return second argument if it is less than the first', async () => {
const result = await safeMath.externalMaxUint256.callAsync(toBN(13), constants.ZERO_AMOUNT); const result = await safeMath.externalMaxUint256.callAsync(toBN(13), constants.ZERO_AMOUNT);
expect(result).bignumber.to.be.eq(toBN(13)); expect(result).bignumber.to.be.eq(toBN(13));
}); });