Adds more c.Next() just to be sure
This commit is contained in:
parent
16b08c41c9
commit
13f57702d4
@ -410,15 +410,15 @@ func TestContextNegotiationFormatCustum(t *testing.T) {
|
||||
|
||||
func TestContextIsAborted(t *testing.T) {
|
||||
c, _, _ := createTestContext()
|
||||
|
||||
assert.False(t, c.IsAborted())
|
||||
|
||||
c.Abort()
|
||||
|
||||
assert.True(t, c.IsAborted())
|
||||
|
||||
c.Next()
|
||||
assert.True(t, c.IsAborted())
|
||||
|
||||
c.Next()
|
||||
assert.True(t, c.IsAborted())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user