Skip to content

Commit

Permalink
Test update from suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
peteski22 committed Apr 3, 2024
1 parent f42322a commit afa67c5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions audit/entry_formatter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1199,9 +1199,7 @@ func TestEntryFormatter_Process_NeverLeaksHeaders(t *testing.T) {
err = json.Unmarshal([]byte(testFormatJSONReqBasicStrFmt), &input)
require.NoError(t, err)
require.NotNil(t, input)
require.Len(t, input.Request.Headers, 1)
require.Len(t, input.Request.Headers["foo"], 1)
require.Equal(t, "bar", input.Request.Headers["foo"][0])
require.ElementsMatch(t, input.Request.Headers["foo"], []string{"bar"})

e := fakeEvent(t, RequestType, input)

Expand Down

0 comments on commit afa67c5

Please sign in to comment.