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