Skip to content

Commit bac68ee

Browse files
updating tests
1 parent 795d761 commit bac68ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/utils/validateargs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func TestValidatePokemonArgs(t *testing.T) {
165165

166166
// Testing too many arguments
167167
tooManyArgs := [][]string{
168-
{"poke-cli", "pokemon", "hypo", "--abilities", "-s", "--types", "--image=sm", "-m"},
168+
{"poke-cli", "pokemon", "hypo", "--abilities", "-s", "--types", "--image=sm", "-m", "-p"},
169169
}
170170

171171
expectedError := styling.StripANSI("╭──────────────────╮\n│Error! │\n│Too many arguments│\n╰──────────────────╯")

0 commit comments

Comments
 (0)