diff --git a/helper/tlsutil/config_test.go b/helper/tlsutil/config_test.go index 52366e245..8b408d763 100644 --- a/helper/tlsutil/config_test.go +++ b/helper/tlsutil/config_test.go @@ -865,7 +865,7 @@ func TestConfig_ShouldReloadRPCConnections(t *testing.T) { for _, testCase := range testInput { shouldReload, err := ShouldReloadRPCConnections(testCase.old, testCase.new) - require.Nil(err) + require.NoError(err) require.Equal(shouldReload, testCase.shouldReload, testCase.errorStr) } }