Merge pull request #782 from ethereum/yann300-patch-23

Fix UnitTest
pull/5370/head
yann300 4 years ago committed by GitHub
commit a5eab2fa4a
  1. 2
      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)

Loading…
Cancel
Save