mirror of
https://github.com/Belphemur/CBZOptimizer.git
synced 2026-07-21 19:05:39 +02:00
chore: remove Git LFS large-file test and fixture
Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com>
This commit is contained in:
co-authored by
Belphemur
parent
e596a026dd
commit
2dfc39505c
@@ -51,13 +51,6 @@ func TestOptimizeIntegration(t *testing.T) {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// Skip the "large" fixtures directory: it holds the Git LFS-tracked
|
||||
// fixture used exclusively by TestOptimizeIntegration_LargeFile,
|
||||
// which may only be a small LFS pointer file if the content wasn't
|
||||
// fetched, and shouldn't be exercised by this generic test.
|
||||
if info.IsDir() && filepath.Base(path) == "large" {
|
||||
return filepath.SkipDir
|
||||
}
|
||||
if !info.IsDir() {
|
||||
fileName := strings.ToLower(info.Name())
|
||||
if (strings.HasSuffix(fileName, ".cbz") || strings.HasSuffix(fileName, ".cbr")) && !strings.Contains(fileName, "converted") {
|
||||
|
||||
Reference in New Issue
Block a user