Skip to content

Commit 52f09d0

Browse files
authored
Merge pull request iluwatar#679 from fanofxiaofeng/patch-2
fix typo
2 parents 11de22b + 176bb85 commit 52f09d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

command/src/test/java/com/iluwatar/command/CommandTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,13 @@ public void testCommand() {
8181
* @param goblin a goblin object whose state is to be verified against other parameters
8282
* @param expectedName expectedName of the goblin
8383
* @param expectedSize expected size of the goblin
84-
* @param expectedVisibilty exepcted visibility of the goblin
84+
* @param expectedVisibility expected visibility of the goblin
8585
*/
8686
private void verifyGoblin(Goblin goblin, String expectedName, Size expectedSize,
87-
Visibility expectedVisibilty) {
87+
Visibility expectedVisibility) {
8888
assertEquals("Goblin's name must be same as expectedName", expectedName, goblin.toString());
8989
assertEquals("Goblin's size must be same as expectedSize", expectedSize, goblin.getSize());
90-
assertEquals("Goblin's visibility must be same as expectedVisibility", expectedVisibilty,
90+
assertEquals("Goblin's visibility must be same as expectedVisibility", expectedVisibility,
9191
goblin.getVisibility());
9292
}
9393
}

0 commit comments

Comments
 (0)