aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-01-18 15:59:47 +0800
committerJacob Evans <jacob@dekz.net>2018-01-19 07:31:06 +0800
commitceb8a492b116f966e780d0ff4992ee0919963bd0 (patch)
tree31d0d4f59dee0d3306beb1805e98b8d608f1d71a /packages
parentcfc868bf4dc371b299801dd24917a695387546e2 (diff)
downloaddexon-sol-tools-ceb8a492b116f966e780d0ff4992ee0919963bd0.tar
dexon-sol-tools-ceb8a492b116f966e780d0ff4992ee0919963bd0.tar.gz
dexon-sol-tools-ceb8a492b116f966e780d0ff4992ee0919963bd0.tar.bz2
dexon-sol-tools-ceb8a492b116f966e780d0ff4992ee0919963bd0.tar.lz
dexon-sol-tools-ceb8a492b116f966e780d0ff4992ee0919963bd0.tar.xz
dexon-sol-tools-ceb8a492b116f966e780d0ff4992ee0919963bd0.tar.zst
dexon-sol-tools-ceb8a492b116f966e780d0ff4992ee0919963bd0.zip
Should not -> cannot
Diffstat (limited to 'packages')
-rw-r--r--packages/assert/src/index.ts2
1 files changed, 1 insertions, 1 deletions
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,