(t *testing.T)
| 152 | } |
| 153 | |
| 154 | func TestSetHostSpecificKey(t *testing.T) { |
| 155 | c := newTestConfig() |
| 156 | host := "github.com" |
| 157 | key := "host-level-key" |
| 158 | val := "host-level-value" |
| 159 | c.Set(host, key, val) |
| 160 | requireKeyWithValue(t, c.cfg, []string{hostsKey, host, key}, val) |
| 161 | } |
| 162 | |
| 163 | func TestSetUserSpecificKey(t *testing.T) { |
| 164 | c := newTestConfig() |
nothing calls this directly
no test coverage detected