Skip to content

Commit

Permalink
Merge pull request iluwatar#679 from fanofxiaofeng/patch-2
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
iluwatar authored Dec 15, 2017
2 parents 11de22b + 176bb85 commit 52f09d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command/src/test/java/com/iluwatar/command/CommandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ public void testCommand() {
* @param goblin a goblin object whose state is to be verified against other parameters
* @param expectedName expectedName of the goblin
* @param expectedSize expected size of the goblin
* @param expectedVisibilty exepcted visibility of the goblin
* @param expectedVisibility expected visibility of the goblin
*/
private void verifyGoblin(Goblin goblin, String expectedName, Size expectedSize,
Visibility expectedVisibilty) {
Visibility expectedVisibility) {
assertEquals("Goblin's name must be same as expectedName", expectedName, goblin.toString());
assertEquals("Goblin's size must be same as expectedSize", expectedSize, goblin.getSize());
assertEquals("Goblin's visibility must be same as expectedVisibility", expectedVisibilty,
assertEquals("Goblin's visibility must be same as expectedVisibility", expectedVisibility,
goblin.getVisibility());
}
}

0 comments on commit 52f09d0

Please sign in to comment.