mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
swarm/network: output substr of hive output
This commit is contained in:
parent
fe51ebd31b
commit
d50fb250f0
1 changed files with 2 additions and 1 deletions
|
|
@ -406,6 +406,7 @@ func TestKademliaHiveString(t *testing.T) {
|
||||||
}
|
}
|
||||||
expH += "========================================================================="
|
expH += "========================================================================="
|
||||||
if expH[100:] != h[100:] {
|
if expH[100:] != h[100:] {
|
||||||
t.Fatalf("incorrect hive output. expected %v, got %v", expH, h)
|
t.Errorf("incorrect hive output. full - expected %v, got %v", expH, h)
|
||||||
|
t.Fatalf("incorrect hive output. substr - expected %v, got %v", expH[100:], h[100:])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue