]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: fix typo in comment
authorguoguangwu <guoguangwu@magic-shield.com>
Thu, 22 Feb 2024 01:32:06 +0000 (01:32 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 26 Feb 2024 21:34:41 +0000 (21:34 +0000)
Change-Id: I77371ef99797e2b53f1292c9d6a4eb157f116f88
GitHub-Last-Rev: 7ce7d014c0c46b320f9e4b742ae9360d1b5cf4dc
GitHub-Pull-Request: golang/go#65836
Reviewed-on: https://go-review.googlesource.com/c/go/+/565440
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

src/crypto/tls/tls_test.go

index 42a0272f0051d8a43497981fdef0ce5e83d4e49c..096b4ed227c53f3c17cb42afe50b89df61a3ef96 100644 (file)
@@ -211,7 +211,7 @@ func TestDialTimeout(t *testing.T) {
                        t.Logf("Listener accepted a connection from %s", lconn.RemoteAddr())
                        lconn.Close()
                }
-               // Close any spurious extra connecitions from the listener. (This is
+               // Close any spurious extra connections from the listener. (This is
                // possible if there are, for example, stray Dial calls from other tests.)
                for extraConn := range acceptc {
                        t.Logf("spurious extra connection from %s", extraConn.RemoteAddr())