summaryrefslogtreecommitdiff
path: root/tests/test_reader.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_reader.py')
-rw-r--r--tests/test_reader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_reader.py b/tests/test_reader.py
index 54a1681..b67c05e 100644
--- a/tests/test_reader.py
+++ b/tests/test_reader.py
@@ -12,7 +12,7 @@ from .forms import *
# * Given a form, can the reader recover it from its display?
@given(forms())
def test_reader(form):
- input = display(form)
+ input = display(form, symbol_table)
port = string_to_input_port(input)
assert read(port, symbol_table) == form
@@ -21,7 +21,7 @@ def test_reader(form):
# without touching the garbage? This is only reliable with lists and conses.
@given(lists() | conses(), text())
def test_reader_with_trailing(form, text):
- input = display(form) + text
+ input = display(form, symbol_table) + text
port = string_to_input_port(input)
assert read(port, symbol_table) == form