Skip to content

Commit 41684c1

Browse files
committed
Adapt test of StringUtil
1 parent 701567c commit 41684c1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/test/java/org/jabref/model/strings/StringUtilTest.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ void StringUtilClassIsSmall() throws Exception {
2525
Path path = Path.of("src", "main", "java", StringUtil.class.getName().replace('.', '/') + ".java");
2626
int lineCount = Files.readAllLines(path, StandardCharsets.UTF_8).size();
2727

28-
assertTrue(lineCount <= 774, "StringUtil increased in size to " + lineCount + ". "
29-
+ "We try to keep this class as small as possible. "
30-
+ "Thus think twice if you add something to StringUtil.");
28+
assertTrue(
29+
lineCount <= 788,
30+
"StringUtil increased in size to "
31+
+ lineCount
32+
+ ". "
33+
+ "We try to keep this class as small as possible. "
34+
+ "Thus think twice if you add something to StringUtil.");
3135
}
3236

3337
@Test

0 commit comments

Comments
 (0)