Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
italolelis committed Apr 27, 2021
1 parent 83039b2 commit 27d2d9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/log/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ func testCreateLogContext(t *testing.T) {
}

func testCreateLogWithNilContext(t *testing.T) {
ctx := NewContext(nil)
assert.NotNil(t, ctx)
assert.Panics(t, func() { NewContext(nil) })

logger := WithContext(nil)
assert.NotNil(t, logger)
Expand Down

0 comments on commit 27d2d9d

Please sign in to comment.