Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristina Pathak committed Mar 13, 2024
1 parent 2e7c6a6 commit 304e97e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/builder/internal/builder/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func TestGenerateAndCompile(t *testing.T) {
}{
{
testCase: "Default Configuration Compilation",
cfgBuilder: func(t *testing.T) Config {
cfgBuilder: func(_ *testing.T) Config {
cfg := NewDefaultConfig()
cfg.Distribution.OutputPath = t.TempDir()
cfg.Replaces = append(cfg.Replaces, replaces...)
Expand Down Expand Up @@ -287,8 +287,8 @@ func TestGetModules(t *testing.T) {
err := GenerateAndCompile(cfg)
if len(tc.expectedErr) == 0 {
if !assert.NoError(t, err) {
mf, mvm, err := cfg.readGoModFile()
t.Log("go mod file", mf, mvm, err)
mf, mvm, readErr := cfg.readGoModFile()
t.Log("go mod file", mf, mvm, readErr)
}
return
}
Expand Down

0 comments on commit 304e97e

Please sign in to comment.