]> Cypherpunks repositories - gostls13.git/commit
context: add test for WithDeadline in the past
authorJack Lindamood <jlindamo@justin.tv>
Fri, 15 Jul 2016 20:28:27 +0000 (13:28 -0700)
committerSameer Ajmani <sameer@golang.org>
Tue, 26 Jul 2016 14:53:38 +0000 (14:53 +0000)
commit887606114902bd58c3838767ac2b66dadba27e5e
tree5c4c8eb0827478313e1bd464b3ce79a647fc8710
parentea2376fcea0be75c856ebd199c0ad0f98192d406
context: add test for WithDeadline in the past

Adds a test case for calling context.WithDeadline() where the deadline
exists in the past.  This change increases the code coverage of the
context package.

Change-Id: Ib486bf6157e779fafd9dab2b7364cdb5a06be36e
Reviewed-on: https://go-review.googlesource.com/25007
Reviewed-by: Sameer Ajmani <sameer@golang.org>
Run-TryBot: Sameer Ajmani <sameer@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/context/context_test.go