Skip to content

Commit

Permalink
remove irrelevant test
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbubbles committed Dec 30, 2024
1 parent 8821f01 commit e0eefc1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/functional/syntax/test_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,15 +599,3 @@ def foobar(token: IERC20):
e.value.message
== "Contract does not implement all interface functions: foobar(IERC20)"
)


def test_interface_name_in_output_is_short(make_input_bundle):
code = """
from ethereum.ercs import IERC20
@external
def test(input: IERC20):
pass
"""
out = compiler.compile_code(code, output_formats=["interface"])

assert "def test(input: IERC20):" in out["interface"]

0 comments on commit e0eefc1

Please sign in to comment.