Skip to content

Commit d92d307

Browse files
authored
Merge pull request #417 from ethereum/yann300-patch-6
Fix e2e tests
2 parents 5f08c8a + db8477a commit d92d307

File tree

1 file changed

+1
-1
lines changed
  • libs/remix-url-resolver/tests

1 file changed

+1
-1
lines changed

libs/remix-url-resolver/tests/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('testRunner', () => {
7676
it('should return contract content of given github path', () => {
7777
const expt: object = {
7878
cleanURL: 'github.com/MathCody/solidity-examples/greeter/greeter.sol',
79-
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',
79+
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}',
8080
type: 'github'
8181
}
8282
assert.deepEqual(results, expt)

0 commit comments

Comments
 (0)