Adds more c.Next() just to be sure

This commit is contained in:
Manu Mtz-Almeida 2015-07-02 18:45:09 +02:00
parent 16b08c41c9
commit 13f57702d4
1 changed files with 2 additions and 2 deletions

View File

@ -410,15 +410,15 @@ func TestContextNegotiationFormatCustum(t *testing.T) {
func TestContextIsAborted(t *testing.T) { func TestContextIsAborted(t *testing.T) {
c, _, _ := createTestContext() c, _, _ := createTestContext()
assert.False(t, c.IsAborted()) assert.False(t, c.IsAborted())
c.Abort() c.Abort()
assert.True(t, c.IsAborted()) assert.True(t, c.IsAborted())
c.Next() c.Next()
assert.True(t, c.IsAborted())
c.Next()
assert.True(t, c.IsAborted()) assert.True(t, c.IsAborted())
} }