We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7481386 commit 8471adbCopy full SHA for 8471adb
cmd/pokemon/pokemon_test.go
@@ -32,6 +32,12 @@ func TestPokemonCommand(t *testing.T) {
32
args: []string{"pokemon", "--help"},
33
expectedOutput: utils.LoadGolden(t, "pokemon_help.golden"),
34
},
35
+ {
36
+ name: "Pokemon no flags with dual type",
37
+ args: []string{"pokemon", "victini"},
38
+ expectedOutput: utils.LoadGolden(t, "pokemon_no_flags_dual_type.golden"),
39
+ expectedError: true,
40
+ },
41
{
42
name: "Pokemon abilities flag",
43
args: []string{"pokemon", "metagross", "--abilities"},
@@ -65,11 +71,6 @@ func TestPokemonCommand(t *testing.T) {
65
71
args: []string{"pokemon", "toxicroak", "--stats"},
66
72
expectedOutput: utils.LoadGolden(t, "pokemon_stats.golden"),
67
73
68
- {
69
- name: "Pokemon typed flags",
70
- args: []string{"pokemon", "armarouge", "--types"},
- expectedOutput: utils.LoadGolden(t, "pokemon_types.golden"),
- },
74
}
75
76
for _, tt := range tests {
0 commit comments