StringUtils: add a new (failed) test
authorNiki Roo <niki@nikiroo.be>
Thu, 12 Apr 2018 07:00:31 +0000 (09:00 +0200)
committerNiki Roo <niki@nikiroo.be>
Thu, 12 Apr 2018 07:00:31 +0000 (09:00 +0200)
src/be/nikiroo/utils/test/StringUtilsTest.java

index 6ebf43ef019a0d2d2760892cd0ea2465888e7c2c..29f5bf3d8936b9f9c48637ddbe7af43057fc238c 100644 (file)
@@ -174,6 +174,8 @@ class StringUtilsTest extends TestLauncher {
                                                "Un petit texte qui se mettra sur plusieurs lignes",
                                                14, "Un       petit", "texte  qui  se",
                                                "mettra     sur", "plusieurs lig-", "nes");
+                               addValue(source, Alignment.JUSTIFY, "le dash-test", 9,
+                                               "le  dash-", "test");
 
                                for (String data : source.keySet()) {
                                        for (int size : source.get(data).keySet()) {