Skip to content

Commit

Permalink
temporarily fix multiple attributes order issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dmathieu committed Apr 23, 2024
1 parent 00cc36a commit e1d54c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bridges/otellogrus/hook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,13 @@ func TestHookFire(t *testing.T) {
name: "emits a log entry with data",
entry: &logrus.Entry{
Data: logrus.Fields{
"hello": "world",
"answer": 42,
"hello": "world",
},
},
wantRecords: map[string][]log.Record{
bridgeName: {
buildRecord(log.StringValue(""), time.Time{}, 0, []log.KeyValue{
log.String("hello", "world"),
log.Int("answer", 42),
}),
},
},
Expand Down

0 comments on commit e1d54c3

Please sign in to comment.