cleanup
This commit is contained in:
parent
45cf8ac453
commit
ec06d6af88
@ -1,3 +1,3 @@
|
|||||||
class HYString(str):
|
class HYString(str):
|
||||||
def __init__(self, string):
|
def __init__(self, string):
|
||||||
self = string
|
self = string # NOQA
|
||||||
|
@ -7,6 +7,16 @@ code = """
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
def test_basics():
|
||||||
|
"""Test the basics"""
|
||||||
|
assert {
|
||||||
|
"function": "fn",
|
||||||
|
"args": [
|
||||||
|
"one"
|
||||||
|
]
|
||||||
|
} == HYExpression(["fn", "one"]).get_invocation()
|
||||||
|
|
||||||
|
|
||||||
def test_fn_split():
|
def test_fn_split():
|
||||||
"""Test if we can get a statement something right."""
|
"""Test if we can get a statement something right."""
|
||||||
one, two = tokenize(code)
|
one, two = tokenize(code)
|
||||||
|
Loading…
Reference in New Issue
Block a user