remove t.Parallel()

This commit is contained in:
Pierre Cauchois 2020-09-18 01:16:01 +00:00
parent 0e64d73f83
commit aa1875c3c7
1 changed files with 0 additions and 5 deletions

View File

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