Skip to content

Commit d7400b3

Browse files
authored
Update test case for commonCards method (#3101)
This is to capture a case identified in https://forum.exercism.org/t/gotta-snatch-em-all-wrong-solution-pass-all-tests/36533/5
1 parent 943e626 commit d7400b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

exercises/concept/gotta-snatch-em-all/src/test/java/GottaSnatchEmAllTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ void testCommonCardsSingleCollection() {
182182
void testCommonCardsMultipleCollections() {
183183
List<Set<String>> collections = List.of(
184184
Set.of("Veevee", "Wigglycream", "Mayofried"),
185-
Set.of("Gyros", "Wigglycream", "Shazam"),
186-
Set.of("Cooltentbro", "Mayofried", "Wigglycream")
185+
Set.of("Cooltentbro", "Mayofried", "Wigglycream"),
186+
Set.of("Gyros", "Wigglycream", "Shazam")
187187
);
188188
Set<String> expected = Set.of("Wigglycream");
189189
assertThat(GottaSnatchEmAll.commonCards(collections)).isEqualTo(expected);

0 commit comments

Comments
 (0)