From 795b7ebb566e6ae503d73c4c958cd2477b5691ea Mon Sep 17 00:00:00 2001 From: mihaelabalutoiu Date: Tue, 26 Jul 2022 13:43:25 +0300 Subject: [PATCH] Add missing assertion --- config/config_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config_test.go b/config/config_test.go index c8e4cd9a..464bb8ef 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -294,6 +294,7 @@ func TestAPITLSconfig(t *testing.T) { // Any error in the TLSConfig should return an error here. cfg.TLSConfig = TLSConfig{} tlsCfg, err = cfg.APITLSConfig() + require.Nil(t, tlsCfg) require.NotNil(t, err) require.EqualError(t, err, "missing crt or key")