Skip to content

Commit

Permalink
Fix failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkeating committed Feb 12, 2024
1 parent 61dbfb0 commit 8f51c20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/WormholeBase.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ import {TestConstants} from "test/Constants.sol";

contract Constructor is Test, TestConstants {
function testForkFuzz_CorrectlySetsAllArgs(address _wormholeRelayer, address _owner) public {
vm.assume(_owner != address(0));
WormholeBase base = new WormholeBase(_wormholeRelayer, _owner);

assertEq(
address(base.WORMHOLE_RELAYER()), _wormholeRelayer, "Wormhole relayer is not set correctly"
);
assertEq(address(base.owner()), _owner, "Contract ownewr is incorrect");
assertEq(address(base.owner()), _owner, "Contract owner is incorrect");
}
}

0 comments on commit 8f51c20

Please sign in to comment.