We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bb2d5c commit 72e6653Copy full SHA for 72e6653
2 files changed
foundry.toml
@@ -2,5 +2,6 @@
2
src = "src"
3
out = "out"
4
libs = ["lib"]
5
+remappings = ["forge-std/=lib/forge-std/src/"]
6
7
# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options
test/SuraChain.t.sol
@@ -27,7 +27,7 @@ contract SuraChainTest is Test {
27
28
assertEq(suraChain.totalVotes(), 1);
29
assertEq(suraChain.hasVoted(voter1), true);
30
- (, , uint16 votes) = suraChain.candidates(1);
+ (,, uint16 votes) = suraChain.candidates(1);
31
assertEq(votes, 1);
32
}
33
@@ -56,4 +56,4 @@ contract SuraChainTest is Test {
56
vm.prank(voter1);
57
suraChain.vote(1);
58
59
-}
+}
0 commit comments