]> Cypherpunks repositories - gostls13.git/commit
net: simplify error return in *RawConn test helpers
authorTobias Klauser <tklauser@distanz.ch>
Thu, 7 May 2020 18:48:37 +0000 (20:48 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Tue, 18 Aug 2020 08:47:18 +0000 (08:47 +0000)
commit4b94e881611890c6d6cbda6f542a94ab08de17e0
treeeef65a0c081456cc9e40c7e18fb42018023795e7
parenta745171e6b30394b661a040d04e8807b4bd0c7da
net: simplify error return in *RawConn test helpers

No need to check operr before returning.

Change-Id: I64b849f7c102de01180823e3f0123d438ce7608a
Reviewed-on: https://go-review.googlesource.com/c/go/+/232797
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/net/rawconn_unix_test.go
src/net/rawconn_windows_test.go