Skip to content

Commit

Permalink
Update log_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
denopink committed Nov 2, 2022
1 parent 5d399a3 commit c74204d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sallusthttp/log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ func assertConnState(assert *assert.Assertions, verify *bytes.Buffer, connState
defer conn1.Close()
defer conn2.Close()

assert.NotPanics(func() {
connState(conn1, http.StateNew)
})
assert.NotPanics(func() {
connState(conn1, http.StateNew)
})
Expand All @@ -42,7 +39,7 @@ func TestNewConnStateLogger(t *testing.T) {
assert = assert.New(t)
require = require.New(t)
v, l = sallust.NewTestLogger(zap.DebugLevel)
connState = NewConnStateLogger(l, "serverName", zap.DebugLevel)
connState = NewConnStateLogger(l, zap.DebugLevel)
)

require.NotNil(connState)
Expand Down

0 comments on commit c74204d

Please sign in to comment.