Skip to content

Commit ddef5ea

Browse files
updating tests
1 parent 3b79629 commit ddef5ea

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

cmd/ability/ability_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ func TestAbilityCommand(t *testing.T) {
3131
args: []string{"ability", "clear-body"},
3232
expectedOutput: utils.LoadGolden(t, "ability.golden"),
3333
},
34+
{
35+
name: "Ability command: beads-of-ruin",
36+
args: []string{"ability", "beads-of-ruin"},
37+
expectedOutput: utils.LoadGolden(t, "ability-ii.golden"),
38+
},
3439
{
3540
name: "Misspelled ability name",
3641
args: []string{"ability", "bulletproff"},

testdata/ability-ii.golden

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Beads of Ruin
2+
• First introduced in generation IX
3+
• Effect: Lowers Special Defense of all Pokémon except itself.

0 commit comments

Comments
 (0)