Skip to content

Commit 20fbb19

Browse files
committed
fix: workflow dotenv
1 parent 093bd93 commit 20fbb19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/rights/RightAssetCustodian.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ contract RightAssetCustodianTest is CustodianShared {
6666
// registered first time
6767
IRightsAssetCustodianRegistrable(rightAssetCustodian).grantCustody(custodian);
6868
uint256 demand = IRightsAssetCustodianManager(rightAssetCustodian).getDemand(custodian);
69-
assertEq(demand, 1);
69+
assertEq(demand, 1, "Demand should be 1 after granting custody");
7070

7171
// second expected failing attempt
7272
vm.expectRevert(abi.encodeWithSignature("GrantCustodyFailed(address,address)", custodian, user));
@@ -117,7 +117,7 @@ contract RightAssetCustodianTest is CustodianShared {
117117
vm.startPrank(user);
118118
// registered first time
119119
uint256 demand = IRightsAssetCustodianManager(rightAssetCustodian).getDemand(custodian);
120-
assertEq(demand, 0);
120+
assertEq(demand, 0, "Demand should be 0 before granting custody");
121121

122122
// second expected failing attempt
123123
vm.expectRevert(abi.encodeWithSignature("RevokeCustodyFailed(address,address)", custodian, user));

0 commit comments

Comments
 (0)