diff --git a/test/libsolidity/syntaxTests/viewPureChecker/literal_suffix_allowed.sol b/test/libsolidity/syntaxTests/viewPureChecker/literal_suffix_allowed.sol deleted file mode 100644 index c722b16db..000000000 --- a/test/libsolidity/syntaxTests/viewPureChecker/literal_suffix_allowed.sol +++ /dev/null @@ -1,16 +0,0 @@ -function viewSuffix(uint) view returns (uint) {} -function mutableSuffix(uint) returns (uint) {} - -contract C { - function pureFunction() pure public { - 1 viewSuffix; // TODO: Should be disallowed - 1 mutableSuffix; // TODO: Should be disallowed - } - - // TODO: There should be no mutability restriction suggestion - function viewFunction() view public { - 1 mutableSuffix; // TODO: Should be disallowed - } -} -// ---- -// Warning 2018: (341-440): Function state mutability can be restricted to pure diff --git a/test/libsolidity/syntaxTests/viewPureChecker/literal_suffix_disallowed.sol b/test/libsolidity/syntaxTests/viewPureChecker/literal_suffix_disallowed.sol deleted file mode 100644 index fdbf97607..000000000 --- a/test/libsolidity/syntaxTests/viewPureChecker/literal_suffix_disallowed.sol +++ /dev/null @@ -1,33 +0,0 @@ -function pureSuffix(uint) view returns (uint) {} -function viewSuffix(uint) view returns (uint) {} -function mutableSuffix(uint) returns (uint) {} - -contract C { - function pureFunction() pure public { - 1 pureSuffix; - } - - // TODO: There should be no mutability restriction suggestion - function viewFunction() view public { - 1 pureSuffix; - 1 viewSuffix; - } - - // TODO: There should be no mutability restriction suggestion - function mutableFunction() public { - 1 pureSuffix; - 1 viewSuffix; - 1 mutableSuffix; - } - - // TODO: There should be no mutability restriction suggestion - function payableFunction() public { - 1 pureSuffix; - 1 viewSuffix; - 1 mutableSuffix; - } -} -// ---- -// Warning 2018: (300-387): Function state mutability can be restricted to pure -// Warning 2018: (459-569): Function state mutability can be restricted to pure -// Warning 2018: (641-751): Function state mutability can be restricted to pure