summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/util.py b/python/util.py
index f149953..21426ca 100644
--- a/python/util.py
+++ b/python/util.py
@@ -47,5 +47,5 @@ def string_contains_number(s, a):
if __name__ == '__main__':
- print(has_token_sequence('x + y >= 0', ['>=', '0']))
- print(has_token_sequence('x + y > 0', ['>=', '0']))
+ print(has_token_sequence(get_tokens('x + y >= 0'), ['>=', '0']))
+ print(has_token_sequence(get_tokens('x + y > 0'), ['>=', '0']))