Skip to content

Commit a963879

Browse files
authored
patch: lint fix in SuffixArrayTest.java
1 parent b378cb5 commit a963879

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/java/com/thealgorithms/strings/SuffixArrayTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ void testStringWithDuplicates() {
3939
@Test
4040
void testRandomString() {
4141
int[] result = SuffixArray.buildSuffixArray("mississippi");
42-
assertArrayEquals(new int[] {10, 7, 4, 1, 0, 9, 8, 6, 3, 5, 2}, result, "Suffix array for 'mississippi' should match expected"
43-
);
42+
assertArrayEquals(new int[] {10, 7, 4, 1, 0, 9, 8, 6, 3, 5, 2}, result, "Suffix array for 'mississippi' should match expected");
4443
}
4544
}

0 commit comments

Comments
 (0)