Redo if statement with exception throwing
This commit is contained in:
@@ -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