Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aq17 committed Apr 14, 2023
1 parent 31a5091 commit bde318f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions upgrade/migrations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package upgrade
import (
"go/parser"
"go/token"
"io/ioutil"
"ioutil"
"os"
"testing"

Expand Down Expand Up @@ -59,7 +59,8 @@ func Provider() tfbridge.ProviderInfo {
orig, err := os.Create("original.go")
assert.Nil(t, err)
defer os.Remove("original.go")
orig.Write([]byte(origProgram))
_, err = orig.Write([]byte(origProgram))
assert.Nil(t, err)

// Parse to ast
fs := token.NewFileSet()
Expand Down

0 comments on commit bde318f

Please sign in to comment.