Skip to content

Commit

Permalink
use assertFalse
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnewnami committed Nov 14, 2023
1 parent 96b4980 commit c91df75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/child/ChildERC20Bridge.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ contract ChildERC20BridgeUnitTest is Test, IChildERC20BridgeEvents, IChildERC20B
assertEq(childBridge.childTokenTemplate(), address(childTokenTemplate), "childTokenTemplate not set");
assertEq(childBridge.rootChain(), ROOT_CHAIN_NAME, "rootChain not set");
assertEq(childBridge.rootIMXToken(), ROOT_IMX_TOKEN, "rootIMXToken not set");
assertNotEq(childBridge.childETHToken(), address(0), "childETHToken not set");
assertNotEq(address(childBridge.childETHToken()).code.length, 0, "childETHToken contract empty");
assertFalse(address(childBridge.childETHToken()) == address(0), "childETHToken not set");
assertFalse(address(childBridge.childETHToken()).code.length == 0, "childETHToken contract empty");
}

function test_RevertIfInitializeTwice() public {
Expand Down

0 comments on commit c91df75

Please sign in to comment.