We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aeb56a9 commit 87aff59Copy full SHA for 87aff59
src/test/java/com/thealgorithms/strings/LetterCombinationsOfPhoneNumberTest.java
@@ -1,6 +1,6 @@
1
package com.thealgorithms.strings;
2
3
-import static org.junit.jupiter.api.Assertions.assertLinesMatch;
+import static org.junit.jupiter.api.Assertions.assertEquals;
4
import static org.junit.jupiter.api.Assertions.assertThrows;
5
6
import java.util.List;
@@ -14,7 +14,7 @@ public class LetterCombinationsOfPhoneNumberTest {
14
@ParameterizedTest
15
@MethodSource("provideTestCases")
16
public void testLetterCombinationsOfPhoneNumber(int[] numbers, List<String> expectedOutput) {
17
- assertLinesMatch(expectedOutput, LetterCombinationsOfPhoneNumber.getCombinations(numbers));
+ assertEquals(expectedOutput, LetterCombinationsOfPhoneNumber.getCombinations(numbers));
18
}
19
20
0 commit comments