(t *testing.T)
| 81 | } |
| 82 | |
| 83 | func TestListPluginCandidatesEmpty(t *testing.T) { |
| 84 | tmpDir := t.TempDir() |
| 85 | candidates := listPluginCandidates([]string{tmpDir, filepath.Join(tmpDir, "no-such-dir")}) |
| 86 | assert.Assert(t, len(candidates) == 0) |
| 87 | } |
| 88 | |
| 89 | // Regression test for https://github.com/docker/cli/issues/5643. |
| 90 | // Check that inaccessible directories that come before accessible ones are ignored |
nothing calls this directly
no test coverage detected
searching dependent graphs…