Skip to content

Commit a4fdb7b

Browse files
committed
Add a test that clarifies that '_' is valid
This stumps people.
1 parent 69e5b77 commit a4fdb7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/hangman/players/YourPlayerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class YourPlayerTest {
99
public void AlwaysGuessA() {
1010
YourPlayer player = new YourPlayer();
1111

12-
char guess = player.GetGuess(Arrays.asList('a', 'b', 'c'));
12+
char guess = player.GetGuess(Arrays.asList('_', 'b', 'c'));
1313

1414
assertEquals('a', guess);
1515
}

0 commit comments

Comments
 (0)