(t *testing.T)
| 96 | } |
| 97 | |
| 98 | func TestActionCacheGetCachePath(t *testing.T) { |
| 99 | tmpDir := testutil.TempDir(t, "test-*") |
| 100 | cache := NewActionCache(tmpDir) |
| 101 | |
| 102 | expectedPath := filepath.Join(tmpDir, ".github", "aw", CacheFileName) |
| 103 | if cache.GetCachePath() != expectedPath { |
| 104 | t.Errorf("Expected cache path '%s', got '%s'", expectedPath, cache.GetCachePath()) |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | func TestActionCacheTrailingNewline(t *testing.T) { |
| 109 | // Create temporary directory for testing |
nothing calls this directly
no test coverage detected