Skip to content

Commit

Permalink
test(ivy): fix test context
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Aug 1, 2024
1 parent a2d6701 commit c2e03ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion module/ivy/ivy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package ivy

import (
"bytes"
"context"
_ "embed"
"github.com/stretchr/testify/assert"
"testing"
Expand All @@ -11,7 +12,7 @@ import (
var sample1 []byte

func TestParseIvy(t *testing.T) {
data, e := readIvyXml(nil, bytes.NewReader(sample1))
data, e := readIvyXml(context.TODO(), bytes.NewReader(sample1))
assert.NoError(t, e)
assert.NotEmpty(t, data.Dependencies)
for _, d := range data.Dependencies {
Expand Down

0 comments on commit c2e03ed

Please sign in to comment.