|
|
|
@ -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) |
|
|
|
|