diff --git a/context_test.go b/context_test.go index 56c71c7..48dbed2 100644 --- a/context_test.go +++ b/context_test.go @@ -417,7 +417,7 @@ func TestContextIsAborted(t *testing.T) { assert.True(t, c.IsAborted()) - c.index += 1 + c.Next() assert.True(t, c.IsAborted()) }