From 0b3628bcc32d7761e1b024cbe1ea9270340c5a91 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Thu, 7 Mar 2013 23:01:17 -0500 Subject: [PATCH] Adding more compiler coverage. --- tests/lex/test_lex.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/lex/test_lex.py b/tests/lex/test_lex.py index b20ef22..e7cca84 100644 --- a/tests/lex/test_lex.py +++ b/tests/lex/test_lex.py @@ -126,6 +126,11 @@ def test_dicts(): "bar": "baz" })] + objs = tokenize("(bar {foo bar bar baz})") + assert objs == [HyExpression([HySymbol("bar"), + HyDict({"foo": "bar", + "bar": "baz"})])] + def test_nospace(): """ Ensure we can tokenize without spaces if we have to """