fix merge mistake

pull/1679/head
alpharush 2 years ago
parent 5a37d308bd
commit dc28a1efac
  1. 1
      slither/core/declarations/contract.py
  2. 2
      tests/test_features.py

@ -193,6 +193,7 @@ class Contract(SourceMapping): # pylint: disable=too-many-public-methods
def comments(self, comments: str): def comments(self, comments: str):
self._comments = comments self._comments = comments
@property
def is_fully_implemented(self) -> bool: def is_fully_implemented(self) -> bool:
return self._is_fully_implemented return self._is_fully_implemented

@ -210,7 +210,7 @@ def test_abstract_contract() -> None:
assert not slither.contracts[0].is_fully_implemented assert not slither.contracts[0].is_fully_implemented
solc_select.switch_global_version("0.5.0", always_install=True) solc_select.switch_global_version("0.5.0", always_install=True)
slither = Slither("./tests/function_features/abstract.sol") slither = Slither("./tests/function_features/implicit_abstract.sol")
assert not slither.contracts[0].is_fully_implemented assert not slither.contracts[0].is_fully_implemented
slither = Slither( slither = Slither(

Loading…
Cancel
Save