Update contracts/exchange/test/internal.ts

Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
This commit is contained in:
James Towle
2019-06-17 23:13:56 -07:00
committed by Amir Bandeali
parent e229d2d59f
commit a39f93bcff

View File

@@ -151,7 +151,7 @@ describe('Exchange core internal functions', () => {
} }
const isRoundingError = await referenceIsRoundingErrorFloorAsync(numerator, denominator, target); const isRoundingError = await referenceIsRoundingErrorFloorAsync(numerator, denominator, target);
if (isRoundingError) { if (isRoundingError) {
throw roundingErrorForCall(); throw roundingErrorForCall;
} }
const product = numerator.multipliedBy(target); const product = numerator.multipliedBy(target);
if (product.isGreaterThan(MAX_UINT256)) { if (product.isGreaterThan(MAX_UINT256)) {