1
1
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:
Mattias Wadman 2022-08-23 19:47:53 +02:00
parent dc32ac08e2
commit 64b236591f

View File

@ -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)