Skip to content

Commit

Permalink
even better messages and names for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh committed Oct 4, 2023
1 parent cc4d699 commit ba4e801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/test/Counter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract CounterTest is Test {
assertEq(value, index, "check counter set now");
if (index > 1) {
value = counters.get(index - 1);
assertEq(value, index - 1, "check previous previous counter after the current set");
assertEq(value, index - 1, "check previous counter after the current set");
}
}
for (uint16 index = 0; index < 32; index++) {
Expand All @@ -78,7 +78,7 @@ contract CounterTest is Test {

if (index > 1) {
value = counters.get(index - 1);
assertEq(value, index, "check previous counter set after second set");
assertEq(value, index, "check previous counter set after second iteration of set");
}
}
}
Expand Down

0 comments on commit ba4e801

Please sign in to comment.