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

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


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

commit 3e896fabf82bf8ca44dde94c95d2f3171e2dc41b
Author: Sergey Kamov <[email protected]>
AuthorDate: Wed Aug 11 16:23:20 2021 +0300

    WIP.
---
 .../test/java/org/apache/nlpcraft/model/tools/cmdline/NCCliSpec.scala  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/nlpcraft-tests/cli/src/test/java/org/apache/nlpcraft/model/tools/cmdline/NCCliSpec.scala
 
b/nlpcraft-tests/cli/src/test/java/org/apache/nlpcraft/model/tools/cmdline/NCCliSpec.scala
index 481aa6c..5a066c7 100644
--- 
a/nlpcraft-tests/cli/src/test/java/org/apache/nlpcraft/model/tools/cmdline/NCCliSpec.scala
+++ 
b/nlpcraft-tests/cli/src/test/java/org/apache/nlpcraft/model/tools/cmdline/NCCliSpec.scala
@@ -89,7 +89,7 @@ class NCCliSpec {
                 Using.resource { new BufferedReader(new 
InputStreamReader(proc.getInputStream)) }(reader => {
                     var line = reader.readLine()
 
-                    while (line != null && !isStarted) {
+                    while (line != null && !isStarted)
                         if (expectedLines.exists(line.contains)) {
                             isStarted = true
 
@@ -103,7 +103,6 @@ class NCCliSpec {
 
                             line = reader.readLine()
                         }
-                    }
                 })
             }
         }

Reply via email to