diff options
author | jbion <joffrey.bion@amadeus.com> | 2016-12-29 18:50:34 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2016-12-29 18:50:34 +0100 |
commit | 6077d9a54f6fc64345315d7c28a8f53b0921a733 (patch) | |
tree | 64ee39c3f449477f7f71b5453cea49b675bee624 /src/main/java/org | |
parent | Add player reordering support in Lobby (diff) | |
download | seven-wonders-6077d9a54f6fc64345315d7c28a8f53b0921a733.tar.gz seven-wonders-6077d9a54f6fc64345315d7c28a8f53b0921a733.tar.bz2 seven-wonders-6077d9a54f6fc64345315d7c28a8f53b0921a733.zip |
Add test for Board.removeGold
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/luxons/sevenwonders/game/boards/Board.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/boards/Board.java b/src/main/java/org/luxons/sevenwonders/game/boards/Board.java index e8afecd5..d6cfd8e1 100644 --- a/src/main/java/org/luxons/sevenwonders/game/boards/Board.java +++ b/src/main/java/org/luxons/sevenwonders/game/boards/Board.java @@ -97,7 +97,7 @@ public class Board { return military; } - private static class InsufficientFundsException extends RuntimeException { + static class InsufficientFundsException extends RuntimeException { InsufficientFundsException(int current, int required) { super(String.format("Current balance is %d gold, but %d are required", current, required)); } |