Fixed BNF concept evaluations

This commit is contained in:
2020-01-03 19:19:57 +01:00
parent adcbc6bb2e
commit ffd98d7407
20 changed files with 682 additions and 237 deletions
+5
View File
@@ -125,6 +125,11 @@ def test_i_can_strip_eof():
assert actual == expected
def test_i_can_escape():
actual = core.utils.escape_char("hello 'world' my friend", "'")
assert actual == "hello \\'world\\' my friend"
def get_tokens(lst):
res = []
for e in lst: