(t *testing.T, cfg *config.Config, keys []string, value string)
| 232 | } |
| 233 | |
| 234 | func requireKeyWithValue(t *testing.T, cfg *config.Config, keys []string, value string) { |
| 235 | t.Helper() |
| 236 | |
| 237 | actual, err := cfg.Get(keys) |
| 238 | require.NoError(t, err) |
| 239 | |
| 240 | require.Equal(t, value, actual) |
| 241 | } |
| 242 | |
| 243 | func requireNoKey(t *testing.T, cfg *config.Config, keys []string) { |
| 244 | t.Helper() |
no test coverage detected