Skip to content

Commit d497ae3

Browse files
authored
test: missing fuzz param check in GatewayBase tests (#917)
1 parent 2e47a93 commit d497ae3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/misc/GatewayBase.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ contract GatewayBaseTest is Base {
2727
}
2828

2929
function test_registerSpoke_fuzz(address newSpoke) public {
30+
vm.assume(newSpoke != address(0));
3031
assertFalse(gateway.isSpokeRegistered(newSpoke));
3132

3233
vm.expectEmit(address(gateway));

0 commit comments

Comments
 (0)