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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ pragma solidity ^0.8.20;
|
||||||
|
|
||||||
import "solmate/tokens/ERC20.sol";
|
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";
|
import "@openzeppelin/contracts/access/Ownable.sol";
|
||||||
|
|
||||||
|
|
|
@ -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