Added a missing type check test
This commit is contained in:
parent
fdaa680572
commit
cfdcaa230d
@ -32,3 +32,15 @@ def helper(left: i32, right: i32) -> i32:
|
|||||||
result = Suite(code_py).run_code()
|
result = Suite(code_py).run_code()
|
||||||
|
|
||||||
assert 7 == result.returned_value
|
assert 7 == result.returned_value
|
||||||
|
|
||||||
|
@pytest.mark.integration_test
|
||||||
|
@pytest.mark.skip('FIXME: Type checking')
|
||||||
|
def test_call_invalid_type():
|
||||||
|
code_py = """
|
||||||
|
def helper(left: i32) -> i32:
|
||||||
|
return left()
|
||||||
|
"""
|
||||||
|
|
||||||
|
result = Suite(code_py).run_code()
|
||||||
|
|
||||||
|
assert 7 == result.returned_value
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user