]> Cypherpunks repositories - gostls13.git/commitdiff
test, test/fixedbugs, crypto/x509, go/internal/gccgoimporter: fix typos
authoralex-semenyuk <alexsemenyuk88@gmail.com>
Sun, 29 Mar 2020 08:12:06 +0000 (08:12 +0000)
committerIan Lance Taylor <iant@golang.org>
Sun, 29 Mar 2020 17:12:56 +0000 (17:12 +0000)
Change-Id: Ie2d605ca8cc3bde2e26c6865642ff4e6412cd075
GitHub-Last-Rev: ce5c3ba369b2ef476e7c63e4404baa256584f357
GitHub-Pull-Request: golang/go#38137
Reviewed-on: https://go-review.googlesource.com/c/go/+/226201
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/crypto/x509/x509_test.go
src/go/internal/gccgoimporter/parser.go
test/blank1.go
test/chanlinear.go
test/fixedbugs/issue9521.go

index 0c6747d28df6cafd7a9983cb757f0c5c9188de73..c2f110e87b39d7a9644d5907afb642861ce9b057 100644 (file)
@@ -1806,7 +1806,7 @@ func TestMD5(t *testing.T) {
        }
 }
 
-// certMissingRSANULL contains an RSA public key where the AlgorithmIdentifer
+// certMissingRSANULL contains an RSA public key where the AlgorithmIdentifier
 // parameters are omitted rather than being an ASN.1 NULL.
 const certMissingRSANULL = `
 -----BEGIN CERTIFICATE-----
index 9204b004f9b7e6084b076c21ee425c5dc9108b7e..e2ef33f7ae6d3b182ee7384619c73e214d660348 100644 (file)
@@ -326,7 +326,7 @@ func (p *parser) parseConstValue(pkg *types.Package) (val constant.Value, typ ty
        if p.tok == '$' {
                p.next()
                if p.tok != scanner.Ident {
-                       p.errorf("expected identifer after '$', got %s (%q)", scanner.TokenString(p.tok), p.lit)
+                       p.errorf("expected identifier after '$', got %s (%q)", scanner.TokenString(p.tok), p.lit)
                }
        }
 
index 1a9f012464c6d2b9a3aac13d5ca319ebedd38d2a..c9a8e6a290497152756676866e014f334652f818 100644 (file)
@@ -4,7 +4,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// Test that incorrect uses of the blank identifer are caught.
+// Test that incorrect uses of the blank identifier are caught.
 // Does not compile.
 
 package _      // ERROR "invalid package name"
index 55fee4ab9b43ae71f983e2d379220394f3f8746a..4d55586dc8fce874484323cd27b5142ad7e91c15 100644 (file)
@@ -5,7 +5,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// Test that dequeueing from a pending channel doesn't
+// Test that dequeuing from a pending channel doesn't
 // take linear time.
 
 package main
index 4e4a55f1e1a2946d78597160c1ae38a32c9855cf..a33f0483f322862eef2ba5a9b2567909b7aff010 100644 (file)
@@ -4,7 +4,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-// Test that an incorrect use of the blank identifer is caught.
+// Test that an incorrect use of the blank identifier is caught.
 // Does not compile.
 
 package main