Skip to content

Commit 72e6653

Browse files
refactor: fix forge fmt issue
1 parent 8bb2d5c commit 72e6653

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

foundry.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
src = "src"
33
out = "out"
44
libs = ["lib"]
5+
remappings = ["forge-std/=lib/forge-std/src/"]
56

67
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

test/SuraChain.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ contract SuraChainTest is Test {
2727

2828
assertEq(suraChain.totalVotes(), 1);
2929
assertEq(suraChain.hasVoted(voter1), true);
30-
(, , uint16 votes) = suraChain.candidates(1);
30+
(,, uint16 votes) = suraChain.candidates(1);
3131
assertEq(votes, 1);
3232
}
3333

@@ -56,4 +56,4 @@ contract SuraChainTest is Test {
5656
vm.prank(voter1);
5757
suraChain.vote(1);
5858
}
59-
}
59+
}

0 commit comments

Comments
 (0)