diff options
Diffstat (limited to 'tests/test_unit.py')
-rw-r--r-- | tests/test_unit.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_unit.py b/tests/test_unit.py index 42a6c73..32677f6 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -5983,6 +5983,11 @@ class Test2_WithoutPackrat(ppt.TestParseResultsAsserts, TestCase): False, "failed to match keyword using updated keyword chars" ) + def testKeywordCopyIdentChars(self): + a_keyword = pp.Keyword("start", identChars="_") + b_keyword = a_keyword.copy() + self.assertEqual(a_keyword.identChars, b_keyword.identChars) + def testLiteralVsKeyword(self): integer = ppc.integer |