mirror of
https://github.com/spf13/viper
synced 2025-05-07 20:57:18 +00:00
Hides unused variable in test
This commit is contained in:
parent
ea03b43202
commit
40548756fc
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ func TestSearchInPath_WithoutConfigTypeSet(t *testing.T) {
|
|||
_ = v.fs.Remove(file)
|
||||
}()
|
||||
assert.NoError(t, createErr)
|
||||
filename, err := v.getConfigFile()
|
||||
_, err := v.getConfigFile()
|
||||
// unless config type is set, files without extension
|
||||
// are not considered
|
||||
assert.Error(t, err)
|
||||
|
|
Loading…
Add table
Reference in a new issue