Skip to content

Commit

Permalink
Update bridges/otelzap/core_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Pająk <[email protected]>
  • Loading branch information
khushijain21 and pellared authored May 31, 2024
1 parent 5edd1a3 commit f53ebce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/otelzap/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestCore(t *testing.T) {
rec.Reset()

// test child logger with accumulated fields
t.Run("Test 'With' method", func(t *testing.T) {
t.Run("With", func(t *testing.T) {
testCases := [][]string{{"test1", "value1"}, {"test2", "value2"}}
childlogger := logger.With(zap.String(testCases[0][0], testCases[0][1]))
childlogger.Info(testMessage, zap.String(testCases[1][0], testCases[1][1]))
Expand Down

0 comments on commit f53ebce

Please sign in to comment.