diff --git a/viper_test.go b/viper_test.go index 76ec02e..78d80ef 100644 --- a/viper_test.go +++ b/viper_test.go @@ -1454,7 +1454,7 @@ func newViperWithSymlinkedConfigFile(t *testing.T) (*Viper, string, string, func // and link the `/datadir1/config.yaml` to `/config.yaml` configFile := path.Join(watchDir, "config.yaml") os.Symlink(path.Join(watchDir, "data", "config.yaml"), configFile) - fmt.Printf("Config file location: %s\n", path.Join(watchDir, "config.yaml")) + t.Logf("Config file location: %s\n", path.Join(watchDir, "config.yaml")) // init Viper v := New() v.SetConfigFile(configFile)