From db8477aaeae11e325c13d301f8027126f28fb4eb Mon Sep 17 00:00:00 2001 From: yann300 Date: Sat, 12 Sep 2020 09:58:29 +0200 Subject: [PATCH] Fix e2e tests --- libs/remix-url-resolver/tests/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/remix-url-resolver/tests/test.ts b/libs/remix-url-resolver/tests/test.ts index b301a1e61a..c43bafda6f 100644 --- a/libs/remix-url-resolver/tests/test.ts +++ b/libs/remix-url-resolver/tests/test.ts @@ -76,7 +76,7 @@ describe('testRunner', () => { it('should return contract content of given github path', () => { const expt: object = { cleanURL: 'github.com/MathCody/solidity-examples/greeter/greeter.sol', - content: 'pragma solidity >=0.5.0 <0.6.0;\nimport \"../mortal/mortal.sol\";\n\ncontract Greeter is Mortal {\n /* Define variable greeting of the type string */\n string greeting;\n\n /* This runs when the contract is executed */\n constructor(string memory _greeting) public {\n greeting = _greeting;\n }\n\n /* Main function */\n function greet() public view returns (string memory) {\n return greeting;\n }\n}\n', + content: 'pragma solidity >=0.5.0 <0.6.0;\nimport \"../mortal/mortal.sol\";\n\ncontract Greeter is Mortal {\n /* Define variable greeting of the type string */\n string greeting;\n\n /* This runs when the contract is executed */\n constructor(string memory _greeting) public {\n greeting = _greeting;\n }\n\n /* Main function */\n function greet() public view returns (string memory) {\n return greeting;\n }\n}', type: 'github' } assert.deepEqual(results, expt)