Use c.Next() instead of c.index++ in UnitTest

This commit is contained in:
Adam Dratwinski 2015-07-02 16:37:35 +02:00
parent 74f5051cb5
commit 050a55b006
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ func TestContextIsAborted(t *testing.T) {
assert.True(t, c.IsAborted()) assert.True(t, c.IsAborted())
c.index += 1 c.Next()
assert.True(t, c.IsAborted()) assert.True(t, c.IsAborted())
} }