This is an automated email from the ASF dual-hosted git repository. aradzinski pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit 38732c8ad62cf9b5066530fa9d04739e9620963f Author: Aaron Radzinski <[email protected]> AuthorDate: Mon Mar 22 19:59:10 2021 -0700 Update test_ok.idl --- .../org/apache/nlpcraft/model/intent/idl/compiler/test_ok.idl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/test_ok.idl b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/test_ok.idl index 8f06881..9830ca5 100644 --- a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/test_ok.idl +++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/test_ok.idl @@ -40,17 +40,18 @@ intent=i2 term(t1)={2 == 2 && !(id()) != -25 && meta_model('a') == 42} term(t2)={ @a = meta_model('a') + @list = list(1, 2, 3, 4) - @a == 42 + @a == 42 && has_all(@list, list(3, 2)) } intent=i3 flow="a[^0-9]b" term(t1)={ @x = 2 - @xx = @x * 2 + @xx = ((@x * @x) / 2) * 3 - @xx == 4 && has( + @xx == 6 && has( json(meta_req('user_json_payload')), list("موسكو\"", 'v1\'v1', "k2", "v2") )
