From ceb8a492b116f966e780d0ff4992ee0919963bd0 Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Thu, 18 Jan 2018 18:59:47 +1100 Subject: Should not -> cannot --- packages/assert/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/assert/src/index.ts b/packages/assert/src/index.ts index 015ffe579..0ea666629 100644 --- a/packages/assert/src/index.ts +++ b/packages/assert/src/index.ts @@ -13,7 +13,7 @@ export const assert = { isValidBaseUnitAmount(variableName: string, value: BigNumber) { assert.isBigNumber(variableName, value); const isNegative = value.lessThan(0); - this.assert(!isNegative, `${variableName} should not be a negative number, found value: ${value.toNumber()}` ); + this.assert(!isNegative, `${variableName} cannot be a negative number, found value: ${value.toNumber()}` ); const hasDecimals = value.decimalPlaces() !== 0; this.assert( !hasDecimals, -- cgit v1.2.3