Skip to content

Commit

Permalink
Use require
Browse files Browse the repository at this point in the history
  • Loading branch information
swi-jared committed Jul 30, 2024
1 parent 1be17a0 commit 91668b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,10 @@ func TestYamlConfig(t *testing.T) {
}

out, err := yaml.Marshal(&yamlConfig)
assert.Nil(t, err)
require.NoError(t, err)

err = os.WriteFile("/tmp/solarwinds-apm-config.yaml", out, 0644)
assert.Nil(t, err)
require.NoError(t, err)

// Test with config file
ClearEnvs()
Expand Down

0 comments on commit 91668b1

Please sign in to comment.