Redo if statement with exception throwing
This commit is contained in:
1 parent
3049650bc4
commit
c16ddc6bca
2 files changed
+3
-1
No files matched your search
@@ -152,7 +152,6 @@ public class SiedlerGameTest {
|
||||
@Test
|
||||
@DisplayName("Starting Siedler game with one player, expects fail")
|
||||
public void startSiedlerGameWithLowerThanMinimumWinPoints() {
|
||||
|
||||
Exception exc = assertThrows(IllegalArgumentException.class, () -> {
|
||||
SiedlerGame game = new SiedlerGame(1, 4);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user