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
f29b0911
Commit
f29b0911
authored
Mar 22, 2013
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encoding/gob: delete dead code.
R=golang-dev, rsc CC=golang-dev
https://golang.org/cl/7834047
parent
092b7cfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
codec_test.go
src/pkg/encoding/gob/codec_test.go
+2
-4
No files found.
src/pkg/encoding/gob/codec_test.go
View file @
f29b0911
...
...
@@ -1191,10 +1191,8 @@ func TestInterface(t *testing.T) {
if
v1
!=
nil
||
v2
!=
nil
{
t
.
Errorf
(
"item %d inconsistent nils"
,
i
)
}
continue
if
v1
.
Square
()
!=
v2
.
Square
()
{
t
.
Errorf
(
"item %d inconsistent values: %v %v"
,
i
,
v1
,
v2
)
}
}
else
if
v1
.
Square
()
!=
v2
.
Square
()
{
t
.
Errorf
(
"item %d inconsistent values: %v %v"
,
i
,
v1
,
v2
)
}
}
}
...
...
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