Skip to content

Commit

Permalink
Resolved lint warnings for tutorial-04
Browse files Browse the repository at this point in the history
  • Loading branch information
willitscale committed Oct 26, 2018
1 parent 7b3a0e1 commit df670a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tutorial-04/testLibrary.sol
Expand Up @@ -5,19 +5,19 @@ import "browser/library.sol";
contract TestLibrary {
using IntExtended for uint;

function testIncrement(uint _base) returns (uint) {
function testIncrement(uint _base) public pure returns (uint) {
return IntExtended.increment(_base);
}

function testDecrement(uint _base) returns (uint) {
function testDecrement(uint _base) public pure returns (uint) {
return IntExtended.decrement(_base);
}

function testIncrementByValue(uint _base, uint _value) returns (uint) {
function testIncrementByValue(uint _base, uint _value) public pure returns (uint) {
return _base.incrementByValue(_value);
}

function testDecrementByValue(uint _base, uint _value) returns (uint) {
function testDecrementByValue(uint _base, uint _value) public pure returns (uint) {
return _base.decrementByValue(_value);
}
}

0 comments on commit df670a5

Please sign in to comment.