1
0
mirror of https://github.com/golang/go synced 2024-11-22 19:54:39 -07:00

test, test/fixedbugs, crypto/x509, go/internal/gccgoimporter: fix typos

This commit is contained in:
alex-semenyuk 2020-03-29 00:27:40 +03:00
parent ade988623e
commit ce5c3ba369
5 changed files with 5 additions and 5 deletions

View 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-----

View 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)
}
}

View 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"

View 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

View 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