mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
p2p: fix test failure in TestTCPPipeBidirections
This commit is contained in:
parent
e31709db65
commit
4696e53315
1 changed files with 2 additions and 2 deletions
|
|
@ -78,7 +78,7 @@ func TestTCPPipeBidirections(t *testing.T) {
|
|||
}
|
||||
|
||||
if !bytes.Equal(expected, out) {
|
||||
t.Fatalf("expected %#v, got %#v", out, expected)
|
||||
t.Fatalf("expected %#v, got %#v", expected, out)
|
||||
} else {
|
||||
msg := []byte(fmt.Sprintf("pong %02d", i))
|
||||
if _, err := c2.Write(msg); err != nil {
|
||||
|
|
@ -94,7 +94,7 @@ func TestTCPPipeBidirections(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
if !bytes.Equal(expected, out) {
|
||||
t.Fatalf("expected %#v, got %#v", out, expected)
|
||||
t.Fatalf("expected %#v, got %#v", expected, out)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue