Skip to content

Commit

Permalink
fix: check indexed anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
dristpunk committed Nov 29, 2023
1 parent 2d2a24f commit 76acf80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/test/unit/Greeter.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ contract UnitGreeterSetGreeting is Base {
function test_EmitEvent(string memory _greeting) public {
vm.assume(keccak256(bytes(_greeting)) != _emptyString);

vm.expectEmit(false, false, false, true);
vm.expectEmit(true, true, true, true, address(_greeter));
emit GreetingSet(_greeting);

_greeter.setGreeting(_greeting);
Expand Down

0 comments on commit 76acf80

Please sign in to comment.