Skip to content

Commit

Permalink
Update pkg/log/log_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
filariow authored Jul 31, 2024
1 parent 5d4eb94 commit 3ff55d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/log/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
},
Expand Down

0 comments on commit 3ff55d9

Please sign in to comment.