1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 11:52:21 +08:00

Run 'gofmt -s -w' on these files

This commit is contained in:
rht
2015-05-19 00:42:21 +07:00
parent 88be96bc8c
commit ac7edddb94
23 changed files with 141 additions and 141 deletions

View File

@ -215,7 +215,7 @@ func TestProvides(t *testing.T) {
}
}
for k, _ := range testCaseValues {
for k := range testCaseValues {
log.Debugf("announcing provider for %s", k)
if err := dhts[3].Provide(ctx, k); err != nil {
t.Fatal(err)
@ -226,7 +226,7 @@ func TestProvides(t *testing.T) {
time.Sleep(time.Millisecond * 6)
n := 0
for k, _ := range testCaseValues {
for k := range testCaseValues {
n = (n + 1) % 3
log.Debugf("getting providers for %s from %d", k, n)
@ -521,7 +521,7 @@ func TestProvidesMany(t *testing.T) {
}
}
for k, _ := range testCaseValues {
for k := range testCaseValues {
// everyone should be able to find it...
for _, dht := range dhts {
log.Debugf("getting providers for %s at %s", k, dht.self)

View File

@ -77,7 +77,7 @@ func (pm *ProviderManager) run() {
case lc := <-pm.getlocal:
var keys []u.Key
for k, _ := range pm.local {
for k := range pm.local {
keys = append(keys, k)
}
lc <- keys