From e5f2585dd84f6e41c68824ef589539bf5d875f6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jegors=20=C4=8Cemisovs?= Date: Wed, 1 Apr 2026 20:37:35 +0300 Subject: [PATCH] Add test case with additional collection for commonCards method --- .../src/test/java/GottaSnatchEmAllTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/gotta-snatch-em-all/src/test/java/GottaSnatchEmAllTest.java b/exercises/concept/gotta-snatch-em-all/src/test/java/GottaSnatchEmAllTest.java index d2466e8a4..12b9961fd 100644 --- a/exercises/concept/gotta-snatch-em-all/src/test/java/GottaSnatchEmAllTest.java +++ b/exercises/concept/gotta-snatch-em-all/src/test/java/GottaSnatchEmAllTest.java @@ -182,8 +182,8 @@ void testCommonCardsSingleCollection() { void testCommonCardsMultipleCollections() { List> collections = List.of( Set.of("Veevee", "Wigglycream", "Mayofried"), - Set.of("Gyros", "Wigglycream", "Shazam"), - Set.of("Cooltentbro", "Mayofried", "Wigglycream") + Set.of("Cooltentbro", "Mayofried", "Wigglycream"), + Set.of("Gyros", "Wigglycream", "Shazam") ); Set expected = Set.of("Wigglycream"); assertThat(GottaSnatchEmAll.commonCards(collections)).isEqualTo(expected);