Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Oct 3, 2021
1 parent 1cd2954 commit 004f3bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion whatchanged_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package whatchanged

import (
"bytes"
"context"
"io/ioutil"
"testing"

Expand Down Expand Up @@ -64,7 +65,7 @@ func TestGenerate(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
w := &bytes.Buffer{}
if err := Generate(tt.Project, w, tt.options); err != tt.wantErr {
if err := Generate(context.Background(), tt.Project, w, tt.options); err != tt.wantErr {
t.Errorf("Generate() error = %v, wantErr %v", err, tt.wantErr)
return
}
Expand Down

0 comments on commit 004f3bb

Please sign in to comment.