somemore tests to verify LANG-673
Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/e9cafb51 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/e9cafb51 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/e9cafb51 Branch: refs/heads/master Commit: e9cafb51e900aa6d5cc9eafc1171bc0d8d83dea5 Parents: c2a8f93 Author: Amey Jadiye <ameyjad...@gmail.com> Authored: Thu May 4 23:58:15 2017 +0530 Committer: Amey Jadiye <ameyjad...@gmail.com> Committed: Thu May 4 23:58:15 2017 +0530 ---------------------------------------------------------------------- src/test/java/org/apache/commons/text/WordUtilsTest.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/e9cafb51/src/test/java/org/apache/commons/text/WordUtilsTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/text/WordUtilsTest.java b/src/test/java/org/apache/commons/text/WordUtilsTest.java index 6fce157..425d6d4 100644 --- a/src/test/java/org/apache/commons/text/WordUtilsTest.java +++ b/src/test/java/org/apache/commons/text/WordUtilsTest.java @@ -476,6 +476,7 @@ public class WordUtilsTest { public void testLANG673() throws Exception { assertEquals("01",WordUtils.abbreviate("01 23 45 67 89", 0, 40, "")); assertEquals("01 23 45 67",WordUtils.abbreviate("01 23 45 67 89", 10, 40, "")); + assertEquals("01 23 45 67 89",WordUtils.abbreviate("01 23 45 67 89", 40, 40, "")); } @Test