diff options
author | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:14:12 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2019-01-12 00:14:12 +0800 |
commit | 98579300c1f78d8c360fa960cc73ffacb1012e91 (patch) | |
tree | ab29e15e580820ad76dafa088926bec9998bb51c /packages/contract-wrappers/src/utils/assert.ts | |
parent | 6fb2721294f5d25edb76cb6f9b34eb3e07212950 (diff) | |
parent | 2cf57a48dd2857dd5cf2f31f4c60dd47ae4d34a5 (diff) | |
download | dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.gz dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.bz2 dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.lz dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.xz dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.tar.zst dexon-sol-tools-98579300c1f78d8c360fa960cc73ffacb1012e91.zip |
merge development
Diffstat (limited to 'packages/contract-wrappers/src/utils/assert.ts')
-rw-r--r-- | packages/contract-wrappers/src/utils/assert.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contract-wrappers/src/utils/assert.ts b/packages/contract-wrappers/src/utils/assert.ts index 3f02ed052..d30c6b29c 100644 --- a/packages/contract-wrappers/src/utils/assert.ts +++ b/packages/contract-wrappers/src/utils/assert.ts @@ -70,7 +70,7 @@ export const assert = { /* * Asserts that all the orders have the same value for the provided propertyName * If the value parameter is provided, this asserts that all orders have the prope - */ + */ ordersHaveAtMostOneUniqueValueForProperty(orders: Order[], propertyName: string, value?: any): void { const allValues = _.map(orders, order => _.get(order, propertyName)); sharedAssert.hasAtMostOneUniqueValue( |