(t *testing.T)
| 53 | } |
| 54 | |
| 55 | func TestOwnerLocalExtension(t *testing.T) { |
| 56 | tempDir := t.TempDir() |
| 57 | extPath := filepath.Join(tempDir, "extensions", "gh-local", "gh-local") |
| 58 | assert.NoError(t, stubLocalExtension(tempDir, extPath)) |
| 59 | e := &Extension{ |
| 60 | kind: LocalKind, |
| 61 | path: extPath, |
| 62 | } |
| 63 | |
| 64 | assert.Equal(t, "", e.Owner()) |
| 65 | } |
| 66 | |
| 67 | func TestOwnerBinaryExtension(t *testing.T) { |
| 68 | tempDir := t.TempDir() |
nothing calls this directly
no test coverage detected