Skip to content

Commit

Permalink
Make expectEmit more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeating committed May 10, 2023
1 parent d19dabc commit 40b8774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/RouterFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ contract Deploy is RouterFactoryTest {
}

function testFork_CorrectlyDeployV4Router() public {
vm.expectEmit(true, true, true, true);
vm.expectEmit();
emit RouterDeployed(RouterFactory.RouterType.V4AggregationRouter, USDC);

address deployedRouterAddress =
Expand All @@ -93,7 +93,7 @@ contract Deploy is RouterFactoryTest {
}

function testFork_CorrectlyDeployV5Router() public {
vm.expectEmit(true, true, true, true);
vm.expectEmit();
emit RouterDeployed(RouterFactory.RouterType.V5AggregationRouter, USDC);

address deployedRouterAddress =
Expand Down

0 comments on commit 40b8774

Please sign in to comment.