diff --git a/libs/remix-url-resolver/tests/test.ts b/libs/remix-url-resolver/tests/test.ts index 37d9410bf6..1569f51ea2 100644 --- a/libs/remix-url-resolver/tests/test.ts +++ b/libs/remix-url-resolver/tests/test.ts @@ -139,7 +139,7 @@ describe('testRunner', () => { it('should return contract content of given github path', () => { const expt: object = { cleanUrl: 'ethereum/remix-project/libs/remix-url-resolver/tests/example_1/greeter.sol', - content: fs.readFileSync(__dirname + '/example_1/greeter.sol', { encoding: 'utf8'}) + '\n', + content: fs.readFileSync(__dirname + '/example_1/greeter.sol', { encoding: 'utf8'}), type: 'github' } assert.deepEqual(results, expt)