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:
parent
ade988623e
commit
ce5c3ba369
@ -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-----
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user