Fixed some bugs
This commit is contained in:
@@ -608,7 +608,7 @@ class TestBnfNodeParser(TestUsingMemoryBasedSheerka):
|
||||
"foo": concept_foo
|
||||
}
|
||||
|
||||
def test_i_can_use_context_reference_with_multiple_levels(self):
|
||||
def test_i_can_manage_concepts_reference_when_multiple_levels(self):
|
||||
my_map = {
|
||||
"foo": self.bnf_concept("foo", Sequence(StrMatch("one"), StrMatch("two"))),
|
||||
"bar": self.bnf_concept("bar", ConceptExpression("foo")),
|
||||
@@ -639,8 +639,7 @@ class TestBnfNodeParser(TestUsingMemoryBasedSheerka):
|
||||
assert concept_baz.body == BuiltinConcepts.NOT_INITIALIZED
|
||||
assert concept_baz.compiled == {
|
||||
ConceptParts.BODY: concept_bar,
|
||||
"bar": concept_bar,
|
||||
"foo": concept_foo,
|
||||
"bar": concept_bar
|
||||
}
|
||||
|
||||
def test_i_can_mix_reference_to_other_concepts(self):
|
||||
|
||||
Reference in New Issue
Block a user