Auto Format Code with forge fmt

This commit is contained in:
David E. Perez Negron R 2023-08-24 00:19:29 -06:00
parent 97d07e9ea7
commit dd2308a1c2
4 changed files with 5 additions and 9 deletions

View File

@ -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;
} }

View File

@ -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";

View File

@ -12,10 +12,6 @@ contract CounterTest is Test {
} }
function testGreet() public { function testGreet() public {
assertEq( assertEq(helloWorld.greet(), "Hello World!");
helloWorld.greet(),
"Hello World!"
);
} }
} }