summaryrefslogtreecommitdiff
path: root/test/testyacc.py
diff options
context:
space:
mode:
authorDavid Beazley <dave@dabeaz.com>2015-04-22 06:59:25 -0500
committerDavid Beazley <dave@dabeaz.com>2015-04-22 06:59:25 -0500
commit8fb06b0c55e91d2d097a4d19782e22664a759830 (patch)
tree1fdebe57f15d4edf7fadd2209cee525de3546e14 /test/testyacc.py
parentaf651673ba6117a0a5405055a92170fffd028106 (diff)
downloadply-8fb06b0c55e91d2d097a4d19782e22664a759830.tar.gz
Continued work on defaulted states. Some bug fixes. In progress.
Diffstat (limited to 'test/testyacc.py')
-rw-r--r--test/testyacc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testyacc.py b/test/testyacc.py
index f8f5f4f..357dcdc 100644
--- a/test/testyacc.py
+++ b/test/testyacc.py
@@ -199,9 +199,11 @@ class YaccErrorWarningTests(unittest.TestCase):
result = sys.stdout.getvalue()
self.assert_(check_expected(result,
"Group at 3:10 to 3:12\n"
+ "Undefined name 'a'\n"
"Syntax error at 'b'\n"
"Syntax error at 4:18 to 4:22\n"
"Assignment Error at 2:5 to 5:33\n"
+ "13\n"
))
def test_yacc_error6(self):