diff --git a/test/coverage.js b/test/coverage.js index 88a4e460..6219d3ea 100644 --- a/test/coverage.js +++ b/test/coverage.js @@ -41,7 +41,7 @@ describe('ContractSources', () => { it('should throw an error when the file does not exist', (done) => { assert.throws(() => { new ContractSources(['fixtures/404.sol']); - }, "ENOENT: no such file or directory, open 'fixtures/404.sol'"); + }, /ENOENT: no such file or directory, open/); done(); });