From bb1160d3f13514bebcb81e89c082198c5278b89e Mon Sep 17 00:00:00 2001 From: Shulhan Date: Mon, 15 May 2023 23:23:41 +0700 Subject: all: load the private key in loadConfig This changes require the loadPrivateKey method detached from Cli and become function. --- config_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config_test.go') diff --git a/config_test.go b/config_test.go index c0b1993..e27172d 100644 --- a/config_test.go +++ b/config_test.go @@ -52,6 +52,8 @@ func TestNewConfig(t *testing.T) { continue } + gotConfig.privateKey = nil + test.Assert(t, `Issuer`, c.expConfig, gotConfig) } } -- cgit v1.3