Auto Format Code with forge fmt
This commit is contained in:
parent
97d07e9ea7
commit
dd2308a1c2
|
@ -2,10 +2,10 @@
|
||||||
pragma solidity ^0.8.20;
|
pragma solidity ^0.8.20;
|
||||||
|
|
||||||
contract Counter {
|
contract Counter {
|
||||||
uint public count;
|
uint256 public count;
|
||||||
|
|
||||||
// Funcion to get the current count
|
// Funcion to get the current count
|
||||||
function get() public view returns (uint) {
|
function get() public view returns (uint256) {
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,10 +12,6 @@ contract CounterTest is Test {
|
||||||
}
|
}
|
||||||
|
|
||||||
function testGreet() public {
|
function testGreet() public {
|
||||||
assertEq(
|
assertEq(helloWorld.greet(), "Hello World!");
|
||||||
helloWorld.greet(),
|
|
||||||
"Hello World!"
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue