Added ZeroAndMore and OneAndMore to BNF. BNF expressions can now be captured
This commit is contained in:
@@ -626,7 +626,7 @@ def test_i_can_eval_bnf_definitions_with_variables():
|
||||
return_value = res[0].value
|
||||
|
||||
assert sheerka.isinstance(return_value, concept_b)
|
||||
assert return_value.props["a"] == Property("a", concept_a)
|
||||
assert return_value.props["a"] == Property("a", sheerka.new(concept_a.key, body="one"))
|
||||
|
||||
|
||||
def test_i_can_eval_bnf_definitions_from_separate_instances():
|
||||
|
||||
Reference in New Issue
Block a user