Skip to content

Commit 63a4aba

Browse files
author
irenemartnez
committed
style(strings): inline lambda in testVeryLargeInputsPerformance for clang-format
1 parent e3f3451 commit 63a4aba

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/test/java/com/thealgorithms/strings/LongestCommonSubstringTest.java‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ public void testVeryLargeInputsPerformance() {
9797
sb2.append('B');
9898
}
9999

100-
assertTimeoutPreemptively(Duration.ofSeconds(2), () -> {
101-
assertEquals("", LongestCommonSubstring.longestCommonSubstring(sb1.toString(), sb2.toString()));
102-
});
100+
assertTimeoutPreemptively(Duration.ofSeconds(2), () -> { assertEquals("", LongestCommonSubstring.longestCommonSubstring(sb1.toString(), sb2.toString())); });
103101
}
104102

105103
@Test

0 commit comments

Comments
 (0)