You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/03/16 18:00:20 UTC

[incubator-nlpcraft] branch NLPCRAFT-206 updated: Update test_ok.nc

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-206
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-206 by this push:
     new 905b201  Update test_ok.nc
905b201 is described below

commit 905b2012fad8554976bd6a981c729045ef7922da
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Tue Mar 16 11:00:13 2021 -0700

    Update test_ok.nc
---
 .../scala/org/apache/nlpcraft/model/intent/dsl/compiler/test_ok.nc    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/dsl/compiler/test_ok.nc b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/dsl/compiler/test_ok.nc
index 7da0a5b..132be45 100644
--- a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/dsl/compiler/test_ok.nc
+++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/dsl/compiler/test_ok.nc
@@ -33,13 +33,13 @@ intent=i1
 intent=i2
     flow="a[^0-9]b"
     meta={'a': true, 'b': {'Москва': [1, 2, 3]}}
-    term(t1)={2 == 2 && size(id()) != -25}
+    term(t1)={2 == 2 && !(id()) != -25}
 
 intent=i3
     flow="a[^0-9]b"
     term(t1)={
         has(
             json("{'a': true, 'b\'2': {'arr': [1, 2, 3]}}"),
-            map("موسكو\"", 'v1\'v1', "k2", "v2")
+            list("موسكو\"", 'v1\'v1', "k2", "v2")
         )
     }
\ No newline at end of file