mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-05 07:10:29 +08:00
Go: fix warnings (#17738)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -266,8 +266,8 @@ func TestWebhook_TokenAuthFails(t *testing.T) {
|
||||
if code != int(common.CodeDataError) {
|
||||
t.Errorf("code = %d, want %d", code, common.CodeDataError)
|
||||
}
|
||||
if msg != "Invalid token authentication" {
|
||||
t.Errorf("message = %q, want %q", msg, "Invalid token authentication")
|
||||
if msg != "invalid token authentication" {
|
||||
t.Errorf("message = %q, want %q", msg, "invalid token authentication")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user