Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
d844aae6
Commit
d844aae6
authored
Mar 29, 2011
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prints: fix a couple of formatting errors caught by govet
R=rsc, agl, agl1 CC=golang-dev
https://golang.org/cl/4337041
parent
fb80f63c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fix.go
src/cmd/gofix/fix.go
+1
-1
ecdsa_test.go
src/pkg/crypto/ecdsa/ecdsa_test.go
+1
-1
No files found.
src/cmd/gofix/fix.go
View file @
d844aae6
...
@@ -39,7 +39,7 @@ func rewrite(x interface{}, visit func(interface{})) {
...
@@ -39,7 +39,7 @@ func rewrite(x interface{}, visit func(interface{})) {
// everything else just recurses
// everything else just recurses
default
:
default
:
panic
(
fmt
.
Errorf
(
"unexpected type %T in walk"
,
x
,
visit
))
panic
(
fmt
.
Errorf
(
"unexpected type %T in walk"
,
x
))
case
nil
:
case
nil
:
...
...
src/pkg/crypto/ecdsa/ecdsa_test.go
View file @
d844aae6
...
@@ -20,7 +20,7 @@ func testKeyGeneration(t *testing.T, c *elliptic.Curve, tag string) {
...
@@ -20,7 +20,7 @@ func testKeyGeneration(t *testing.T, c *elliptic.Curve, tag string) {
return
return
}
}
if
!
c
.
IsOnCurve
(
priv
.
PublicKey
.
X
,
priv
.
PublicKey
.
Y
)
{
if
!
c
.
IsOnCurve
(
priv
.
PublicKey
.
X
,
priv
.
PublicKey
.
Y
)
{
t
.
Errorf
(
"%s: public key invalid"
,
tag
,
err
)
t
.
Errorf
(
"%s: public key invalid
: %s
"
,
tag
,
err
)
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment