fix err msg

This commit is contained in:
xmdhs 2023-10-12 17:20:07 +08:00
parent 913815294b
commit 230e47d1f6
No known key found for this signature in database
GPG Key ID: E809D6D43DEFCC95

View File

@ -64,7 +64,7 @@ func TestWebService_Auth(t *testing.T) {
for _, tt := range tests { for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) { t.Run(tt.name, func(t *testing.T) {
if _, err := tt.w.Auth(tt.args.ctx, tt.args.token); (err != nil) != tt.wantErr { if _, err := tt.w.Auth(tt.args.ctx, tt.args.token); (err != nil) != tt.wantErr {
t.Errorf("WebService.Reg() error = %v, wantErr %v", err, tt.wantErr) t.Errorf("WebService.Auth() error = %v, wantErr %v", err, tt.wantErr)
} }
}) })
} }