diff --git a/viper_test.go b/viper_test.go index f4263d3..3f9ba72 100644 --- a/viper_test.go +++ b/viper_test.go @@ -196,6 +196,7 @@ func initDirs(t *testing.T) (string, string, func()) { ) root, err := ioutil.TempDir("", "") + require.NoError(t, err, "Failed to create temporary directory") cleanup := true defer func() {