Reformat string literals in test_lex_strings
This commit is contained in:
parent
a2f95366fe
commit
f88f6e597b
@ -98,7 +98,7 @@ def test_lex_symbols():
|
|||||||
|
|
||||||
def test_lex_strings():
|
def test_lex_strings():
|
||||||
""" Make sure that strings are valid expressions"""
|
""" Make sure that strings are valid expressions"""
|
||||||
objs = tokenize("\"foo\" ")
|
objs = tokenize('"foo"')
|
||||||
assert objs == [HyString("foo")]
|
assert objs == [HyString("foo")]
|
||||||
# Make sure backslash-escaped newlines work (see issue #831)
|
# Make sure backslash-escaped newlines work (see issue #831)
|
||||||
objs = tokenize(r"""
|
objs = tokenize(r"""
|
||||||
|
Loading…
Reference in New Issue
Block a user