Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Fix misprint in test
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkolegov committed Jul 25, 2023
1 parent 2089488 commit 6f6a26a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/GatewayDiamond.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ contract GatewayDiamondDeploymentTest is StdInvariant, Test {

registerSubnet(subnetCollateral, subnetAddress);
require(gwGetter.totalSubnets() == 1);
Subnet[] memory subnets = gw.listSubnets();
Subnet[] memory subnets = gwGetter.listSubnets();
require(subnets.length == 1, "subnets.length == 1");

SubnetID memory subnetId = gwGetter.getNetworkName().createSubnetId(subnetAddress);
Expand Down Expand Up @@ -454,7 +454,7 @@ contract GatewayDiamondDeploymentTest is StdInvariant, Test {
}

require(gwGetter.totalSubnets() == numberOfSubnets);
Subnet[] memory subnets = gw.listSubnets();
Subnet[] memory subnets = gwGetter.listSubnets();
require(subnets.length == numberOfSubnets, "subnets.length == numberOfSubnets");
}

Expand Down

0 comments on commit 6f6a26a

Please sign in to comment.