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

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


The following commit(s) were added to refs/heads/NLPCRAFT-431 by this push:
     new 10fe33b  WIP.
10fe33b is described below

commit 10fe33be347d0bfe4f72b684a21a789a6e433515
Author: Sergey Kamov <[email protected]>
AuthorDate: Mon Aug 30 23:24:11 2021 +0300

    WIP.
---
 .../enrichers/model/anyword/NCNestedAnySpec.scala  | 26 +++++++++-------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/anyword/NCNestedAnySpec.scala
 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/anyword/NCNestedAnySpec.scala
index 1513658..8bd0260 100644
--- 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/anyword/NCNestedAnySpec.scala
+++ 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/model/anyword/NCNestedAnySpec.scala
@@ -30,35 +30,31 @@ class NCNestedAnySpec extends NCTestContext {
         checkIntent("a t1 t2 b", "compose")
         checkIntent("a t1 b", "compose")
 
-        // Too many any words.
+        // Too many 'any words'.
         checkFail("a t1 t2 t3 t4 b")
+
+        // Missed 'any words'.
+        checkFail("a b")
     }
 
-    @Test
-    @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex1], 
startClient = true)
+    @Test @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex1], 
startClient = true)
     def testRegex1(): Unit = test()
 
-    @Test
-    @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex2], 
startClient = true)
+    @Test @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex2], 
startClient = true)
     def testRegex2(): Unit = test()
 
-    @Test
-    @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex3], 
startClient = true)
+    @Test @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex3], 
startClient = true)
     def testRegex3(): Unit = test()
 
-    @Test
-    @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex4], 
startClient = true)
+    @Test @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex4], 
startClient = true)
     def testRegex4(): Unit = test()
 
-    @Test
-    @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex5], 
startClient = true)
+    @Test @NCTestEnvironment(model = classOf[NCNestedTestModelAnyRegex5], 
startClient = true)
     def testRegex5(): Unit = test()
 
-    @Test
-    @NCTestEnvironment(model = classOf[NCNestedTestModelAnyAlphaNum1], 
startClient = true)
+    @Test @NCTestEnvironment(model = classOf[NCNestedTestModelAnyAlphaNum1], 
startClient = true)
     def testAlphaNum1(): Unit = test()
 
-    @Test
-    @NCTestEnvironment(model = classOf[NCNestedTestModelAnyNotSpace1], 
startClient = true)
+    @Test @NCTestEnvironment(model = classOf[NCNestedTestModelAnyNotSpace1], 
startClient = true)
     def testNotSpaceNum1(): Unit = test()
 }

Reply via email to