(t *testing.T, cfg *ghConfig.Config, keys []string, value string)
| 684 | } |
| 685 | |
| 686 | func requireKeyWithValue(t *testing.T, cfg *ghConfig.Config, keys []string, value string) { |
| 687 | t.Helper() |
| 688 | |
| 689 | actual, err := cfg.Get(keys) |
| 690 | require.NoError(t, err) |
| 691 | |
| 692 | require.Equal(t, value, actual) |
| 693 | } |
| 694 | |
| 695 | func requireNoKey(t *testing.T, cfg *ghConfig.Config, keys []string) { |
| 696 | t.Helper() |
no test coverage detected