diff --git a/libs/remix-url-resolver/tests/test.ts b/libs/remix-url-resolver/tests/test.ts index 24b46c392a..37d9410bf6 100644 --- a/libs/remix-url-resolver/tests/test.ts +++ b/libs/remix-url-resolver/tests/test.ts @@ -109,7 +109,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)