From a397d2614babae345d4566e4b4f593eaaf339dca Mon Sep 17 00:00:00 2001 From: Goran Rojovic Date: Wed, 28 Aug 2024 14:22:07 +0200 Subject: [PATCH] fix: comments --- client/client_test.go | 2 ++ config/config_test.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/client_test.go b/client/client_test.go index 382179d..7211484 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -405,6 +405,8 @@ func TestClient_SignSequenceBanana(t *testing.T) { } func TestClient_Factory_New(t *testing.T) { + t.Parallel() + url := "http://example.com" f := NewFactory() diff --git a/config/config_test.go b/config/config_test.go index 452061f..099e113 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -124,7 +124,7 @@ func Test_NewKeyFromKeystore(t *testing.T) { } key, err := NewKeyFromKeystore(cfg) - require.Error(t, err) + require.ErrorContains(t, err, "no such file or directory") require.Nil(t, key) })