From 3ff55d964d6fd3cd5d450384bad4c5a348561939 Mon Sep 17 00:00:00 2001 From: Francesco Ilario Date: Wed, 31 Jul 2024 18:47:42 +0200 Subject: [PATCH] Update pkg/log/log_test.go --- pkg/log/log_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/log/log_test.go b/pkg/log/log_test.go index 9183df50..de837486 100644 --- a/pkg/log/log_test.go +++ b/pkg/log/log_test.go @@ -67,11 +67,11 @@ func TestLog(t *testing.T) { ctxSet map[string]interface{} }{ "default": {}, - "impersonateUser is set": { + "impersonate-user is set": { ctxSet: map[string]interface{}{context.ImpersonateUser: "user"}, contains: `"impersonate-user":"user"`, }, - "impersonateUser is not set": { + "impersonate-user is not set": { ctxSet: map[string]interface{}{}, notContains: `impersonate-user`, },