Refactored sheerka execution flow + Enhanced log management
This commit is contained in:
@@ -729,6 +729,18 @@ def test_i_can_detect_indirect_infinite_recursion_with_sequence_or_ordered_choic
|
||||
assert bar not in parser.concepts_grammars # removed because of the infinite recursion
|
||||
|
||||
|
||||
def test_infinite_recursion_does_not_fail_if_a_concept_is_missing():
|
||||
foo = Concept(name="foo")
|
||||
bar = Concept(name="bar")
|
||||
|
||||
concepts = {
|
||||
foo: bar
|
||||
}
|
||||
parser = ConceptLexerParser()
|
||||
parser.initialize(get_context(), concepts)
|
||||
|
||||
assert foo in parser.concepts_grammars
|
||||
|
||||
def test_i_can_detect_indirect_infinite_recursion_with_optional():
|
||||
# TODO infinite recursion with optional
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user