You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/03/29 21:20:27 UTC
(commons-text) branch master updated: Update WordUtilsTest.java
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git
The following commit(s) were added to refs/heads/master by this push:
new 7275ea2c Update WordUtilsTest.java
7275ea2c is described below
commit 7275ea2ce63bd4eaf6b65fbd9fd70e134f1d149d
Author: Gary Gregory <ga...@users.noreply.github.com>
AuthorDate: Fri Mar 29 17:20:23 2024 -0400
Update WordUtilsTest.java
---
src/test/java/org/apache/commons/text/WordUtilsTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/java/org/apache/commons/text/WordUtilsTest.java b/src/test/java/org/apache/commons/text/WordUtilsTest.java
index f6bfe145..bb3c95df 100644
--- a/src/test/java/org/apache/commons/text/WordUtilsTest.java
+++ b/src/test/java/org/apache/commons/text/WordUtilsTest.java
@@ -37,7 +37,7 @@ public class WordUtilsTest {
private static final String WHITESPACE = IntStream.rangeClosed(Character.MIN_CODE_POINT, Character.MAX_CODE_POINT).filter(Character::isWhitespace)
.collect(StringBuilder::new, StringBuilder::appendCodePoint, StringBuilder::append).toString();
-
+
@Test
public void testAbbreviateForLowerThanMinusOneValues() {
assertThatIllegalArgumentException().isThrownBy(() -> assertThat(WordUtils.abbreviate("01 23 45 67 89", 9, -10, null)).isEqualTo("01 23 45 67"));