diff --git a/contracts/exchange/test/internal.ts b/contracts/exchange/test/internal.ts index 5c1b8ae266..db45137c58 100644 --- a/contracts/exchange/test/internal.ts +++ b/contracts/exchange/test/internal.ts @@ -151,7 +151,7 @@ describe('Exchange core internal functions', () => { } const isRoundingError = await referenceIsRoundingErrorFloorAsync(numerator, denominator, target); if (isRoundingError) { - throw roundingErrorForCall(); + throw roundingErrorForCall; } const product = numerator.multipliedBy(target); if (product.isGreaterThan(MAX_UINT256)) {