(t *testing.T)
| 177 | } |
| 178 | |
| 179 | func TestGetFileHash(t *testing.T) { |
| 180 | content := []byte("test content") |
| 181 | // Calculate the actual expected hash |
| 182 | expectedHash := "6ae8a75555209fd6c44157c0aed8016e763ff435a19cf186f76863140143ff72" |
| 183 | |
| 184 | hash := GetFileHash(content) |
| 185 | if hash != expectedHash { |
| 186 | t.Errorf("Expected hash %s, got %s", expectedHash, hash) |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | func TestManager_loadFileIndex(t *testing.T) { |
| 191 | tempDir := t.TempDir() |
nothing calls this directly
no test coverage detected