Skip to content

Commit d126a32

Browse files
authored
Update FighterTest.java
fixed compilation error
1 parent 406af2a commit d126a32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/wizards-and-warriors/src/test/java/FighterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@ void testWizardsDamagePointsAfterPreparingSpell() {
213213

214214
private static class VulnerableFighter extends Fighter {
215215
@Override
216-
boolean isVulnerable() {
216+
public boolean isVulnerable() {
217217
return true;
218218
}
219219
}
220220

221221
private static class InvulnerableFighter extends Fighter {
222222
@Override
223-
boolean isVulnerable() {
223+
public boolean isVulnerable() {
224224
return false;
225225
}
226226
}

0 commit comments

Comments
 (0)