diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-04 16:09:08 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-04 16:09:08 +0800 |
commit | 7759e67a5a51a213e19083f63df13e80ea4aefa2 (patch) | |
tree | 9eedc8e87196c080787f0a6841bdb67199cbcfed /packages/contracts/test/exchange | |
parent | 4d75689790075f734df9a2e3b80443c85e1ddc95 (diff) | |
download | dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar.gz dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar.bz2 dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar.lz dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar.xz dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.tar.zst dexon-sol-tools-7759e67a5a51a213e19083f63df13e80ea4aefa2.zip |
Rename EIP712Utils to eip712Utils since objectLiterals shouldn't start with caps
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r-- | packages/contracts/test/exchange/libs.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/contracts/test/exchange/libs.ts b/packages/contracts/test/exchange/libs.ts index 5c9f9aac7..6c3305d1d 100644 --- a/packages/contracts/test/exchange/libs.ts +++ b/packages/contracts/test/exchange/libs.ts @@ -1,5 +1,5 @@ import { BlockchainLifecycle } from '@0xproject/dev-utils'; -import { assetDataUtils, EIP712Utils, orderHashUtils } from '@0xproject/order-utils'; +import { assetDataUtils, eip712Utils, orderHashUtils } from '@0xproject/order-utils'; import { SignedOrder } from '@0xproject/types'; import { BigNumber } from '@0xproject/utils'; import * as chai from 'chai'; @@ -109,7 +109,7 @@ describe('Exchange libs', () => { describe('getDomainSeparatorSchema', () => { it('should output the correct domain separator schema hash', async () => { const domainSeparatorSchema = await libs.getDomainSeparatorSchemaHash.callAsync(); - const domainSchemaBuffer = EIP712Utils._getDomainSeparatorSchemaBuffer(); + const domainSchemaBuffer = eip712Utils._getDomainSeparatorSchemaBuffer(); const schemaHashHex = `0x${domainSchemaBuffer.toString('hex')}`; expect(schemaHashHex).to.be.equal(domainSeparatorSchema); }); |