8000 fix typo · codeyu/java-design-patterns@176bb85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 176bb85

Browse files
fix typo
'exepcted'->'expected' 'expectedVisibilty'->'expectedVisibility'
1 parent 4b1650f commit 176bb85

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)
0