chore: update linter
This commit is contained in:
parent
12e50e20e6
commit
553ef94047
46 changed files with 129 additions and 105 deletions
|
@ -618,12 +618,12 @@ func Test_Routing(t *testing.T) {
|
|||
err := check.checkRouter(epListener.Addr().String(), timeout)
|
||||
|
||||
if check.expectedError != "" {
|
||||
require.NotNil(t, err, check.desc)
|
||||
require.Error(t, err, check.desc)
|
||||
assert.Contains(t, err.Error(), check.expectedError, check.desc)
|
||||
continue
|
||||
}
|
||||
|
||||
assert.Nil(t, err, check.desc)
|
||||
assert.NoError(t, err, check.desc)
|
||||
}
|
||||
|
||||
epListener.Close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue