update test to take error into account

This commit is contained in:
Iuri Matias 2017-02-28 08:07:07 -05:00
parent c500bb4988
commit 0bdfda78ab
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ describe('embark.Compiler', function() {
compiler.compile_solidity([
readFile('test/contracts/simple_storage.sol'),
readFile('test/contracts/token.sol')
], function(compiledContracts) {
], function(err, compiledContracts) {
assert.deepEqual(compiledContracts, expectedObject);
done();
});