Skip to content

Commit df670a5

Browse files
authored
Resolved lint warnings for tutorial-04
1 parent 7b3a0e1 commit df670a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorial-04/testLibrary.sol

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ import "browser/library.sol";
55
contract TestLibrary {
66
using IntExtended for uint;
77

8-
function testIncrement(uint _base) returns (uint) {
8+
function testIncrement(uint _base) public pure returns (uint) {
99
return IntExtended.increment(_base);
1010
}
1111

12-
function testDecrement(uint _base) returns (uint) {
12+
function testDecrement(uint _base) public pure returns (uint) {
1313
return IntExtended.decrement(_base);
1414
}
1515

16-
function testIncrementByValue(uint _base, uint _value) returns (uint) {
16+
function testIncrementByValue(uint _base, uint _value) public pure returns (uint) {
1717
return _base.incrementByValue(_value);
1818
}
1919

20-
function testDecrementByValue(uint _base, uint _value) returns (uint) {
20+
function testDecrementByValue(uint _base, uint _value) public pure returns (uint) {
2121
return _base.decrementByValue(_value);
2222
}
2323
}

0 commit comments

Comments
 (0)