Merge branch 'saifulazad-patch-1'

This commit is contained in:
Narendra Pathai 2016-03-26 15:54:38 +05:30
commit 9074a9ca05
2 changed files with 2 additions and 2 deletions

View File

@ -31,6 +31,6 @@ public class MeleeStrategy implements DragonSlayingStrategy {
@Override @Override
public void execute() { public void execute() {
System.out.println("With your Excalibur you severe the dragon's head!"); System.out.println("With your Excalibur you sever the dragon's head!");
} }
} }

View File

@ -52,7 +52,7 @@ public class DragonSlayingStrategyTest {
return Arrays.asList( return Arrays.asList(
new Object[]{ new Object[]{
new MeleeStrategy(), new MeleeStrategy(),
"With your Excalibur you severe the dragon's head!" "With your Excalibur you sever the dragon's head!"
}, },
new Object[]{ new Object[]{
new ProjectileStrategy(), new ProjectileStrategy(),