Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
fanhousanbu committed Oct 4, 2024
1 parent cfe3a9e commit c15695e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/BLSLightAccount.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract BLSLightAccountTest is Test {

// 初始化合约
account.initialize(owner);

// 检查初始化后的状态
assertEq(account.owner(), owner);
}
Expand All @@ -29,10 +29,10 @@ contract BLSLightAccountTest is Test {

// 第一次初始化合约
account.initialize(owner);

// 尝试再次初始化合约,应该失败
bytes memory errorSelector = abi.encodeWithSelector(CustomSlotInitializable.InvalidInitialization.selector);
vm.expectRevert(errorSelector);
account.initialize(owner);
}
}
}

0 comments on commit c15695e

Please sign in to comment.