chore: fix typo

This commit is contained in:
Klaus
2020-08-16 22:25:51 +08:00
committed by Kevin Wan
parent 721b7def7c
commit 4bdf5e4c90
5 changed files with 13 additions and 13 deletions

View File

@@ -34,7 +34,7 @@ func TestContextCancel(t *testing.T) {
assert.NotEqual(t, context.Canceled, c2.Err())
}
func TestConextDeadline(t *testing.T) {
func TestContextDeadline(t *testing.T) {
c, _ := context.WithDeadline(context.Background(), time.Now().Add(10*time.Millisecond))
o := ValueOnlyFrom(c)
select {