Skip to content

Commit

Permalink
chore: modify unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jin-gou committed Jan 27, 2024
1 parent 569fb00 commit 2a19741
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/protocol/http1/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func TestTraceEventCompleted(t *testing.T) {
assert.False(t, traceInfo.Stats().GetEvent(stats.WriteStart).IsNil())
assert.False(t, traceInfo.Stats().GetEvent(stats.WriteFinish).IsNil())
assert.False(t, traceInfo.Stats().GetEvent(stats.HTTPFinish).IsNil())
assert.Nil(t, traceInfo.Stats().Error())
}

func TestTraceEventReadHeaderError(t *testing.T) {
Expand Down

0 comments on commit 2a19741

Please sign in to comment.