From da712f4f4729b10992598f9cfdab6228f63ee7b0 Mon Sep 17 00:00:00 2001 From: Chelsea Holland Komlo Date: Wed, 13 Jun 2018 09:58:40 -0400 Subject: [PATCH] fixup! more specific test assertion --- helper/tlsutil/config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) } }