mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
fixup! more specific test assertion
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user