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 2020/09/02 17:59:14 UTC

[incubator-nlpcraft] branch NLPCRAFT-112 updated: Update NCAsciiTableSpec.scala

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

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


The following commit(s) were added to refs/heads/NLPCRAFT-112 by this push:
     new c5457ae  Update NCAsciiTableSpec.scala
c5457ae is described below

commit c5457ae52ad30dd55740d3944b2c5cde9076dfd6
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Wed Sep 2 10:58:59 2020 -0700

    Update NCAsciiTableSpec.scala
---
 .../scala/org/apache/nlpcraft/common/ascii/NCAsciiTableSpec.scala | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/nlpcraft/src/test/scala/org/apache/nlpcraft/common/ascii/NCAsciiTableSpec.scala b/nlpcraft/src/test/scala/org/apache/nlpcraft/common/ascii/NCAsciiTableSpec.scala
index 639425f..6918c91 100644
--- a/nlpcraft/src/test/scala/org/apache/nlpcraft/common/ascii/NCAsciiTableSpec.scala
+++ b/nlpcraft/src/test/scala/org/apache/nlpcraft/common/ascii/NCAsciiTableSpec.scala
@@ -31,8 +31,8 @@ class NCAsciiTableSpec {
 
         t.margin(5, 5, 5, 5)
 
-        t.defaultHeaderStyle = s"${t.defaultHeaderStyle}, maxWidth=10"
-        t.defaultRowStyle = s"${t.defaultRowStyle}, maxWidth=10"
+        t.defaultHeaderStyle = s"${t.defaultHeaderStyle}, maxWidth: 10"
+        t.defaultRowStyle = s"${t.defaultRowStyle}, maxWidth: 10"
 
         t #= ("Header 1", Seq("Header 2.1", "Header 2.2"), "Header 3")
         t += ("Row 1", Seq("Row 2"), Seq("Row 3.1", "Row 3.2"))
@@ -50,8 +50,8 @@ class NCAsciiTableSpec {
 
         t.margin(5, 5, 5, 5)
 
-        t.defaultHeaderStyle = s"${t.defaultHeaderStyle}, maxWidth=10"
-        t.defaultRowStyle = s"${t.defaultRowStyle}, maxWidth=10"
+        t.defaultHeaderStyle = s"${t.defaultHeaderStyle}, maxWidth: 10"
+        t.defaultRowStyle = s"${t.defaultRowStyle}, maxWidth: 10"
 
         t #= (Seq("Header 1", "Header 2", "Header 3", "Header 4"): _*)
         t += ("Column 1", "Column 2", "Column 3", "Column 4")