mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-05 16:28:06 +08:00
address review
This commit is contained in:
parent
e9ed71f8dc
commit
1bf85300d4
@ -254,7 +254,8 @@ func (tp *TestSuite) TestRoutingProvide(t *testing.T) {
|
||||
if provider.ID.String() == self0.ID().String() {
|
||||
success = true
|
||||
break
|
||||
} else if len(provider.ID.String()) > 0 {
|
||||
}
|
||||
if len(provider.ID.String()) > 0 {
|
||||
t.Errorf("got wrong provider: %s != %s", provider.ID.String(), self0.ID().String())
|
||||
}
|
||||
time.Sleep(time.Second)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user