diff --git a/test/BLSLightAccount.sol b/test/BLSLightAccount.sol index 4db84ae..8106bac 100644 --- a/test/BLSLightAccount.sol +++ b/test/BLSLightAccount.sol @@ -19,7 +19,7 @@ contract BLSLightAccountTest is Test { // 初始化合约 account.initialize(owner); - + // 检查初始化后的状态 assertEq(account.owner(), owner); } @@ -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); } -} \ No newline at end of file +}