mirror of
https://github.com/wader/fq.git
synced 2024-11-25 23:13:19 +03:00
fqtest: Run tests in parallell
This commit is contained in:
parent
dc32ac08e2
commit
64b236591f
@ -18,6 +18,8 @@ func TestPath(t *testing.T, registry *interp.Registry) {
|
||||
ColorDiff: os.Getenv("DIFF_COLOR") != "",
|
||||
WriteOutput: os.Getenv("WRITE_ACTUAL") != "",
|
||||
Fn: func(t *testing.T, path, input string) (string, string, error) {
|
||||
t.Parallel()
|
||||
|
||||
b, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user