From 3bc24eae11e8bd8baa0b8ab19b73f84ef4e07299 Mon Sep 17 00:00:00 2001 From: "C.C" Date: Fri, 17 Nov 2023 11:31:53 +0800 Subject: [PATCH] fix(zipper): update unit test for improve error description when auth (#679) make unit test pass --- core/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/client_test.go b/core/client_test.go index 6cefd80a6..d2a056c50 100644 --- a/core/client_test.go +++ b/core/client_test.go @@ -70,7 +70,7 @@ func TestFrameRoundTrip(t *testing.T) { illegalTokenSource := NewClient("source", testaddr, ClientTypeSource, WithCredential("token:error-token"), WithLogger(discardingLogger)) err := illegalTokenSource.Connect(ctx) - assert.Equal(t, "authentication failed: client credential name is token", err.Error()) + assert.Equal(t, "authentication failed: client credential type is token", err.Error()) source := NewClient( "source",