mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
Improve code quality
This commit is contained in:
@ -33,3 +33,10 @@ func TestTraceEvent(t *testing.T) {
|
||||
assert.Equal(t, eventCalled.Protocol, HTTP)
|
||||
assert.Equal(t, eventCalled.Status, Stateless)
|
||||
}
|
||||
|
||||
func TestStringStatus(t *testing.T) {
|
||||
assert.Equal(t, Start.String(), "Start")
|
||||
assert.Equal(t, End.String(), "End")
|
||||
assert.Equal(t, Stateless.String(), "Stateless")
|
||||
assert.Equal(t, Interaction.String(), "Interaction")
|
||||
}
|
||||
|
Reference in New Issue
Block a user