(t *testing.T)
| 16 | } |
| 17 | |
| 18 | func TestConfigValue(t *testing.T) { |
| 19 | viper.AddConfigPath("./test-fixtures") |
| 20 | ReadConfig("test_config") |
| 21 | |
| 22 | if ConfigValue("spotify.device_name") != "my_device_name" { |
| 23 | t.Error("Failed to retrieve value from test_config.yaml") |
| 24 | } |
| 25 | |
| 26 | } |
nothing calls this directly
no test coverage detected