diff --git a/src/TextOutput.java b/src/TextOutput.java index f302150..f9ccee9 100644 --- a/src/TextOutput.java +++ b/src/TextOutput.java @@ -53,7 +53,7 @@ public class TextOutput { } System.out.print(word + " "); currentLength += word.length() + 1; - } + } } System.out.println(); //added } diff --git a/test/TextOutputTest.java b/test/TextOutputTest.java index 7be2eb4..341cd8f 100644 --- a/test/TextOutputTest.java +++ b/test/TextOutputTest.java @@ -15,7 +15,7 @@ class TextOutputTest { public void setup(){ textOutput = new TextOutput(); textOutput.formatFix(9); - //textOutput.formatRaw(); + textOutput.formatRaw(); text = new ArrayList<>(); text.add("123456789"); text.add("1234");