Skip to content

Commit

Permalink
test weird interface name
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbubbles committed Dec 15, 2024
1 parent e37f4f7 commit 53b4626
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/functional/codegen/test_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -958,3 +958,11 @@ def bar(a:int32) -> uint256:
"external_interface"
]
compile_code(out, contract_path="test.vyi", output_formats=["external_interface"])


@pytest.mark.xfail
def test_weird_interface_name():
out = compile_code("", contract_path="_.vyi", output_formats=["external_interface"])[
"external_interface"
]
assert "interface _:" in out

0 comments on commit 53b4626

Please sign in to comment.