diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-13 19:27:52 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-04-13 19:27:52 +0800 |
commit | e5cf41b3134d6cd5fdda995aa81ec23e51bb5145 (patch) | |
tree | 73d324f54d680285be856c5d42b5ea346a40cc81 /packages/deployer/test | |
parent | 74012ad584ba93043e60f143d88619f580ceed08 (diff) | |
download | dexon-0x-contracts-e5cf41b3134d6cd5fdda995aa81ec23e51bb5145.tar.gz dexon-0x-contracts-e5cf41b3134d6cd5fdda995aa81ec23e51bb5145.tar.zst dexon-0x-contracts-e5cf41b3134d6cd5fdda995aa81ec23e51bb5145.zip |
Uncomment tests
Diffstat (limited to 'packages/deployer/test')
-rw-r--r-- | packages/deployer/test/compiler_utils_test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/deployer/test/compiler_utils_test.ts b/packages/deployer/test/compiler_utils_test.ts index 36e7b321c..7e7ae1200 100644 --- a/packages/deployer/test/compiler_utils_test.ts +++ b/packages/deployer/test/compiler_utils_test.ts @@ -50,7 +50,7 @@ describe('Compiler utils', () => { const exchangeSource = await fsWrapper.readFileAsync(`${__dirname}/fixtures/contracts/Exchange.sol`, { encoding: 'utf8', }); - // expect(parseDependencies(exchangeSource)).to.be.deep.equal(['ERC20', 'TokenTransferProxy', 'SafeMath']); + expect(parseDependencies(exchangeSource)).to.be.deep.equal(['ERC20', 'TokenTransferProxy', 'SafeMath']); }); it('correctly parses TokenTransferProxy dependencies', async () => { const exchangeSource = await fsWrapper.readFileAsync( @@ -59,12 +59,12 @@ describe('Compiler utils', () => { encoding: 'utf8', }, ); - // expect(parseDependencies(exchangeSource)).to.be.deep.equal(['Ownable', 'ERC20']); + expect(parseDependencies(exchangeSource)).to.be.deep.equal(['Ownable', 'ERC20']); }); // TODO: For now that doesn't work. This will work after we switch to a grammar-based parser it.skip('correctly parses commented out dependencies', async () => { const contractWithCommentedOutDependencies = `// import "./TokenTransferProxy.sol";`; - // expect(parseDependencies(contractWithCommentedOutDependencies)).to.be.deep.equal([]); + expect(parseDependencies(contractWithCommentedOutDependencies)).to.be.deep.equal([]); }); }); }); |