(t *testing.T)
| 114 | } |
| 115 | |
| 116 | func TestImportCacheEmptyCache(t *testing.T) { |
| 117 | tempDir := t.TempDir() |
| 118 | |
| 119 | cache := NewImportCache(tempDir) |
| 120 | |
| 121 | // Try to get from empty cache - should return not found |
| 122 | _, found := cache.Get("owner", "repo", "test.md", "nonexistent-sha") |
| 123 | assert.False(t, found, "Get should return cache miss for empty cache") |
| 124 | } |
| 125 | |
| 126 | func TestSanitizePath(t *testing.T) { |
| 127 | tests := []struct { |
nothing calls this directly
no test coverage detected