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

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


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

commit 25f169f95c05e99588c871ee70f76a841112f360
Author: Sergey Kamov <[email protected]>
AuthorDate: Tue Mar 17 20:18:22 2020 +0300

    WIP.
---
 .../probe/mgrs/nlp/enrichers/sort/NCEnricherSortSpec.scala  | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git 
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCEnricherSortSpec.scala
 
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCEnricherSortSpec.scala
index 0588104..a74c835 100644
--- 
a/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCEnricherSortSpec.scala
+++ 
b/src/test/scala/org/apache/nlpcraft/probe/mgrs/nlp/enrichers/sort/NCEnricherSortSpec.scala
@@ -116,10 +116,17 @@ class NCEnricherSortSpec extends NCEnricherBaseSpec {
                 usr(text = "A", id = "A"),
                 srt(text = "classify", subjNote = "A", subjIndex = 0)
             ),
-            _ ⇒ checkExists(
+            _ ⇒ checkAll(
                 "A B classify",
-                usr(text = "A B", id = "AB"),
-                srt(text = "classify", subjNote = "AB", subjIndex = 0)
+                Seq(
+                    usr(text = "A B", id = "AB"),
+                    srt(text = "classify", subjNote = "AB", subjIndex = 0)
+                ),
+                Seq(
+                    usr(text = "A", id = "A"),
+                    usr(text = "B", id = "B"),
+                    srt(text = "classify", subjNotes = Seq("A", "B"), 
subjIndexes = Seq(0, 1))
+                )
             ),
             _ ⇒ checkAll(
                 "D classify",

Reply via email to