예제 #1
0
 def test_ok(self):
     matcher = FullFirstMatch(Any('a'))
     matcher.config.clear()
     result = list(matcher.match_null('a'))
     assert result == [(['a'], '')], result
예제 #2
0
 def test_ok(self):
     matcher = FullFirstMatch(Any('a'))
     matcher.config.clear()
     result = list(matcher.match_null('a'))
     assert result == [(['a'], '')], result