(t *testing.T)
| 173 | } |
| 174 | |
| 175 | func TestIsPinnedLocalExtension(t *testing.T) { |
| 176 | tempDir := t.TempDir() |
| 177 | extPath := filepath.Join(tempDir, "extensions", "gh-local", "gh-local") |
| 178 | assert.NoError(t, stubLocalExtension(tempDir, extPath)) |
| 179 | e := &Extension{ |
| 180 | kind: LocalKind, |
| 181 | path: extPath, |
| 182 | } |
| 183 | |
| 184 | assert.False(t, e.IsPinned()) |
| 185 | } |
nothing calls this directly
no test coverage detected