Skip to content

Commit 6dd8652

Browse files
updating function arguments
1 parent 85776fd commit 6dd8652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flags/abilityflagset_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestPokemonFlag(t *testing.T) {
3939
r, w, _ := os.Pipe()
4040
os.Stdout = w
4141

42-
err := PokemonAbilitiesFlag("ability", "stench")
42+
err := PokemonAbilitiesFlag(&output, "ability", "stench")
4343

4444
if closeErr := w.Close(); closeErr != nil {
4545
t.Fatalf("Failed to close pipe writer: %v", closeErr)

0 commit comments

Comments
 (0)