]> Cypherpunks repositories - gostls13.git/commit
errors: improve As tests
authorJonathan Amsterdam <jba@google.com>
Sat, 8 Jun 2019 11:32:13 +0000 (07:32 -0400)
committerJonathan Amsterdam <jba@google.com>
Tue, 11 Jun 2019 17:48:48 +0000 (17:48 +0000)
commit34a43d7c1de171691546e95aca503ece4602d82b
tree4cde31b7a22bcfc3da8d9320194f30cae95eb9a7
parent5f94d44722c49db52700a9e100029394a97fd5a3
errors: improve As tests

Check the value of target after As returns true.

Change-Id: I76a2b25fe825ee1dbb5f39f8f0b211c55bd25a4f
Reviewed-on: https://go-review.googlesource.com/c/go/+/181299
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/errors/wrap_test.go