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/23 21:17:53 UTC

[incubator-nlpcraft] branch NLPCRAFT-278 updated: Update NCIdlFunctionsOther.scala

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

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


The following commit(s) were added to refs/heads/NLPCRAFT-278 by this push:
     new 5fb9cc3  Update NCIdlFunctionsOther.scala
5fb9cc3 is described below

commit 5fb9cc3bff79c20f5b4204f43d64cb7016a2395c
Author: Aaron Radzinski <ar...@apache.org>
AuthorDate: Tue Mar 23 14:17:42 2021 -0700

    Update NCIdlFunctionsOther.scala
---
 .../model/intent/idl/compiler/functions/NCIdlFunctionsOther.scala     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsOther.scala b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsOther.scala
index baa52e3..7e3f80e 100644
--- a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsOther.scala
+++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctionsOther.scala
@@ -43,8 +43,8 @@ class NCIdlFunctionsOther extends NCIdlFunctions {
 
         // JSON.
         test(
-            s"has(json($js), 'k1') == true",
-            s"has(json($js), 'k2') == false"
+            s"has(json('$js'), 'k1') == true",
+            s"has(json('$js'), 'k2') == false"
         )
     }
 }