Skip to content

Commit

Permalink
fix(zipper): update unit test for improve error description when auth (
Browse files Browse the repository at this point in the history
…yomorun#679)

make unit test pass
  • Loading branch information
fanweixiao authored Nov 17, 2023
1 parent ccfcc5a commit 3bc24ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3bc24ea

Please sign in to comment.