Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
38abbc91
Unverified
Commit
38abbc91
authored
Sep 21, 2018
by
QYuan
Committed by
GitHub
Sep 21, 2018
Browse files
Delete extra comments
parent
29049964
Changes
1
Show whitespace changes
Inline
Side-by-side
p2p/protocol/identify/id_test.go
View file @
38abbc91
...
@@ -113,7 +113,6 @@ func testKnowsAddrs(t *testing.T, h host.Host, p peer.ID, expected []ma.Multiadd
...
@@ -113,7 +113,6 @@ func testKnowsAddrs(t *testing.T, h host.Host, p peer.ID, expected []ma.Multiadd
for
_
,
addr
:=
range
expected
{
for
_
,
addr
:=
range
expected
{
if
_
,
found
:=
have
[
addr
.
String
()];
!
found
{
if
_
,
found
:=
have
[
addr
.
String
()];
!
found
{
t
.
Errorf
(
"%s did not have addr for %s: %s"
,
h
.
ID
(),
p
,
addr
)
t
.
Errorf
(
"%s did not have addr for %s: %s"
,
h
.
ID
(),
p
,
addr
)
// panic("ahhhhhhh")
}
}
}
}
}
}
...
...
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