summaryrefslogtreecommitdiff
path: root/tests/test_unit.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_unit.py')
-rw-r--r--tests/test_unit.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_unit.py b/tests/test_unit.py
index 19258dd..42a6c73 100644
--- a/tests/test_unit.py
+++ b/tests/test_unit.py
@@ -7953,6 +7953,10 @@ class Test2_WithoutPackrat(ppt.TestParseResultsAsserts, TestCase):
print(expr)
self.assertEqual("W:(0-9){2,3}", repr(expr))
+ expr = pp.Char(pp.nums)
+ print(expr)
+ self.assertEqual("(0-9)", repr(expr))
+
class Test3_EnablePackratParsing(TestCase):
def runTest(self):