pull/260/head^2
yann300 4 years ago committed by Aniket
parent 7fe85e9f2c
commit e14cfcf6b9
  1. 4
      apps/remix-ide/src/app/editor/example-contracts.js
  2. 4
      apps/remix-ide/test-browser/tests/compiler_api.test.js

@ -4,7 +4,7 @@ const storage = `pragma solidity >=0.4.22 <0.7.0;
/** /**
* @title Storage * @title Storage
* @dev Store & retreive value in a variable * @dev Store & retrieve value in a variable
*/ */
contract Storage { contract Storage {
@ -22,7 +22,7 @@ contract Storage {
* @dev Return value * @dev Return value
* @return value of 'number' * @return value of 'number'
*/ */
function retreive() public view returns (uint256){ function retrieve() public view returns (uint256){
return number; return number;
} }
}` }`

@ -40,7 +40,7 @@ const simpleContract = `pragma solidity >=0.4.22 <0.7.0;
/** /**
* @title Storage * @title Storage
* @dev Store & retreive value in a variable * @dev Store & retrieve value in a variable
*/ */
contract StorageTestUpdateConfiguration { contract StorageTestUpdateConfiguration {
@ -58,7 +58,7 @@ contract StorageTestUpdateConfiguration {
* @dev Return value * @dev Return value
* @return value of 'number' * @return value of 'number'
*/ */
function retreive() public view returns (uint256){ function retrieve() public view returns (uint256){
return number; return number;
} }
} }

Loading…
Cancel
Save