test: fix linter package names (#23)

* test: fix linter package names

* chore: pr-lint.yml
This commit is contained in:
2025-07-14 01:48:39 +03:00
committed by GitHub
parent 70fede7635
commit 9a2bbda223
6 changed files with 28 additions and 25 deletions

View File

@@ -1,10 +1,12 @@
package fileproc
package fileproc_test
import (
"os"
"strings"
"sync"
"testing"
fileproc "github.com/ivuorinen/gibidify/fileproc"
)
func TestProcessFile(t *testing.T) {
@@ -30,12 +32,12 @@ func TestProcessFile(t *testing.T) {
return
}
ch := make(chan WriteRequest, 1)
ch := make(chan fileproc.WriteRequest, 1)
var wg sync.WaitGroup
wg.Add(1)
go func() {
defer wg.Done()
ProcessFile(tmpFile.Name(), ch, "")
fileproc.ProcessFile(tmpFile.Name(), ch, "")
}()
wg.Wait()
close(ch)