Add test data
This commit is contained in:
10
tests/code.py
Normal file
10
tests/code.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from typing import Optional
|
||||
|
||||
|
||||
def code(arg: Optional[bool]) -> str:
|
||||
if arg is None:
|
||||
return "a"
|
||||
elif arg is True:
|
||||
return "b"
|
||||
else:
|
||||
return "c"
|
||||
Reference in New Issue
Block a user