(t *testing.T)
| 205 | } |
| 206 | |
| 207 | func TestNativeStoreGetInvalidAddress(t *testing.T) { |
| 208 | f := &fakeStore{configs: map[string]types.AuthConfig{ |
| 209 | validServerAddress: {}, |
| 210 | }} |
| 211 | |
| 212 | s := &nativeStore{ |
| 213 | programFunc: mockCommandFn, |
| 214 | fileStore: NewFileStore(f), |
| 215 | } |
| 216 | _, err := s.Get(invalidServerAddress) |
| 217 | assert.ErrorContains(t, err, "program failed") |
| 218 | } |
| 219 | |
| 220 | func TestNativeStoreErase(t *testing.T) { |
| 221 | f := &fakeStore{configs: map[string]types.AuthConfig{ |
nothing calls this directly
no test coverage detected
searching dependent graphs…