Skip to content

Commit 3ee774f

Browse files
committed
refactor(tests): remove unnecessary view modifier from interface tests
1 parent 1a6e533 commit 3ee774f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/sharing-smart-contract/test/SupportsInterface.t.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ contract SupportsInterface is Test {
2020
);
2121
}
2222

23-
function testSupports721Interface() external view {
23+
function testSupports721Interface() external {
2424
assertTrue(_dataProtectorSharing.supportsInterface(type(IAccessControl).interfaceId));
2525
}
2626

27-
function testSupportsAccessControlInterface() external view {
27+
function testSupportsAccessControlInterface() external {
2828
assertTrue(_dataProtectorSharing.supportsInterface(type(IERC721).interfaceId));
2929
assertTrue(_dataProtectorSharing.supportsInterface(type(IERC721Metadata).interfaceId));
3030
}

0 commit comments

Comments
 (0)