Skip to content

Commit 79dc52b

Browse files
Format array and list literals in CombinationSumTest
1 parent be3bf77 commit 79dc52b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/thealgorithms/backtracking/CombinationSumTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ private static List<List<Integer>> norm(List<List<Integer>> x) {
2323

2424
@Test
2525
void sample() {
26-
int[] candidates = {2,3,6,7};
26+
int[] candidates = {2, 3, 6, 7};
2727
int target = 7;
28-
var expected = List.of(List.of(2,2,3), List.of(7));
28+
var expected = List.of(List.of(2, 2, 3), List.of(7));
2929
assertEquals(norm(expected), norm(CombinationSum.combinationSum(candidates, target)));
3030
}
3131
}

0 commit comments

Comments
 (0)