Merge remote-tracking branch 'origin/main'

This commit is contained in:
Andrin Fassbind committed 2021-11-11 16:15:17 +01:00
commit 9ffdfe6ba7
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -62,7 +62,7 @@ public class TextOutput {
System.out.print(word);
if(!(currentWordNumber == lastWordNumber)) {
System.out.print(" ");
currentLength = word.length();
currentLength = word.length() + 1;
}
}
}
+4
View File
@@ -27,5 +27,9 @@ class TextOutputTest {
@Test
public void print() {
textOutput.print(text);
System.out.println("fertig");
textOutput.formatRaw();
textOutput.print(text);
System.out.println("fertig");
}
}