Skip to content

Commit

Permalink
p2p/simulations/adapters: fix error messages in TestTCPPipeBidirectio…
Browse files Browse the repository at this point in the history
…ns (#29207)
  • Loading branch information
keroro520 authored Mar 10, 2024
1 parent e31709d commit 3dc549b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions p2p/simulations/adapters/inproc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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)
}
}
}
Expand Down

0 comments on commit 3dc549b

Please sign in to comment.