mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
swarm/network: Omit date from hive string output
This commit is contained in:
parent
ca3bec1687
commit
9ac70ae69a
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ func TestKademliaHiveString(t *testing.T) {
|
||||||
expH += fmt.Sprintf("%03d 0 | 0\n", i)
|
expH += fmt.Sprintf("%03d 0 | 0\n", i)
|
||||||
}
|
}
|
||||||
expH += "========================================================================="
|
expH += "========================================================================="
|
||||||
if expH[100:] != h[100:] {
|
if expH[106:] != h[106:] {
|
||||||
t.Errorf("incorrect hive output. full - 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:])
|
t.Fatalf("incorrect hive output. substr - expected %v, got %v", expH[100:], h[100:])
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue