Skip to content

Commit

Permalink
fix(test): expect event
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Sep 3, 2024
1 parent 51ad701 commit f318b7e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/foundry/unit/Bootstrap.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -959,6 +959,8 @@ contract BootstrapTest is Test {
_markBootstrapped(2, true);
// silently succeeds and does not block the system after bootstrapping
vm.warp(spawnTime + 10);
vm.expectEmit(address(bootstrap));
emit BootstrapStorage.BootstrappedAlready();
_markBootstrapped(3, true);
}

Expand Down

0 comments on commit f318b7e

Please sign in to comment.