From aa1875c3c705ccd2a06ee40c3a8bf55c26b736a5 Mon Sep 17 00:00:00 2001 From: Pierre Cauchois Date: Fri, 18 Sep 2020 01:16:01 +0000 Subject: [PATCH] remove t.Parallel() --- lib/eof_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/eof_test.go b/lib/eof_test.go index b3810f1c87..964f9e70e9 100644 --- a/lib/eof_test.go +++ b/lib/eof_test.go @@ -10,8 +10,6 @@ import ( ) func TestErrIsEOF(t *testing.T) { - t.Parallel() - var tests = []struct { name string err error @@ -23,15 +21,12 @@ func TestErrIsEOF(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - t.Parallel() require.True(t, IsErrEOF(tt.err)) }) t.Run(fmt.Sprintf("Wrapped %s", tt.name), func(t *testing.T) { - t.Parallel() require.True(t, IsErrEOF(fmt.Errorf("test: %w", tt.err))) }) t.Run(fmt.Sprintf("String suffix is %s", tt.name), func(t *testing.T) { - t.Parallel() require.True(t, IsErrEOF(fmt.Errorf("rpc error: %s", tt.err.Error()))) }) }