Skip to content

Commit 87aff59

Browse files
author
Samuel Facchinello
committed
change to assertEquals
1 parent aeb56a9 commit 87aff59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package com.thealgorithms.strings;
22

3-
import static org.junit.jupiter.api.Assertions.assertLinesMatch;
3+
import static org.junit.jupiter.api.Assertions.assertEquals;
44
import static org.junit.jupiter.api.Assertions.assertThrows;
55

66
import java.util.List;
@@ -14,7 +14,7 @@ public class LetterCombinationsOfPhoneNumberTest {
1414
@ParameterizedTest
1515
@MethodSource("provideTestCases")
1616
public void testLetterCombinationsOfPhoneNumber(int[] numbers, List<String> expectedOutput) {
17-
assertLinesMatch(expectedOutput, LetterCombinationsOfPhoneNumber.getCombinations(numbers));
17+
assertEquals(expectedOutput, LetterCombinationsOfPhoneNumber.getCombinations(numbers));
1818
}
1919

2020
@ParameterizedTest

0 commit comments

Comments
 (0)