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
b2329e99
Commit
b2329e99
authored
Nov 29, 2011
by
Robert Hencke
Committed by
Andrew Gerrand
Nov 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cgo: fix incorrect print found by govet
R=golang-dev CC=golang-dev
https://golang.org/cl/5445052
parent
fbdec642
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
helpers.go
misc/cgo/test/helpers.go
+1
-1
No files found.
misc/cgo/test/helpers.go
View file @
b2329e99
...
@@ -29,7 +29,7 @@ var testPairs = []testPair{
...
@@ -29,7 +29,7 @@ var testPairs = []testPair{
func
testHelpers
(
t
*
testing
.
T
)
{
func
testHelpers
(
t
*
testing
.
T
)
{
for
_
,
pair
:=
range
testPairs
{
for
_
,
pair
:=
range
testPairs
{
if
!
reflect
.
DeepEqual
(
pair
.
Got
,
pair
.
Want
)
{
if
!
reflect
.
DeepEqual
(
pair
.
Got
,
pair
.
Want
)
{
t
.
Errorf
(
"%s: got %#v, want %#v"
,
pair
.
Got
,
pair
.
Want
)
t
.
Errorf
(
"%s: got %#v, want %#v"
,
pair
.
Name
,
pair
.
Got
,
pair
.
Want
)
}
}
}
}
}
}
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