aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/asset_proxy
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-26 07:01:34 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-06-26 07:34:06 +0800
commita89908540f8bca266780c59f3cb1521e7fb16b73 (patch)
treede513c4d4cf75e62488354eb912451c8fb7617ea /packages/contracts/test/asset_proxy
parent0163984ea4f9d7623613d2d7cd8e2e946acecdf5 (diff)
downloaddexon-sol-tools-a89908540f8bca266780c59f3cb1521e7fb16b73.tar
dexon-sol-tools-a89908540f8bca266780c59f3cb1521e7fb16b73.tar.gz
dexon-sol-tools-a89908540f8bca266780c59f3cb1521e7fb16b73.tar.bz2
dexon-sol-tools-a89908540f8bca266780c59f3cb1521e7fb16b73.tar.lz
dexon-sol-tools-a89908540f8bca266780c59f3cb1521e7fb16b73.tar.xz
dexon-sol-tools-a89908540f8bca266780c59f3cb1521e7fb16b73.tar.zst
dexon-sol-tools-a89908540f8bca266780c59f3cb1521e7fb16b73.zip
Don't use variables for revert reasons
Diffstat (limited to 'packages/contracts/test/asset_proxy')
-rw-r--r--packages/contracts/test/asset_proxy/proxies.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/test/asset_proxy/proxies.ts b/packages/contracts/test/asset_proxy/proxies.ts
index 43aea9a79..2313c0b0e 100644
--- a/packages/contracts/test/asset_proxy/proxies.ts
+++ b/packages/contracts/test/asset_proxy/proxies.ts
@@ -236,7 +236,8 @@ describe('Asset Transfer Proxies', () => {
it('should have an id of 0xf47261b0', async () => {
const proxyId = await erc20Proxy.getProxyId.callAsync();
- expect(proxyId).to.equal('0xf47261b0');
+ const expectedProxyId = '0xf47261b0';
+ expect(proxyId).to.equal(expectedProxyId);
});
});
@@ -484,7 +485,8 @@ describe('Asset Transfer Proxies', () => {
it('should have an id of 0x08e937fa', async () => {
const proxyId = await erc721Proxy.getProxyId.callAsync();
- expect(proxyId).to.equal('0x08e937fa');
+ const expectedProxyId = '0x08e937fa';
+ expect(proxyId).to.equal(expectedProxyId);
});
});
});