summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport
diff options
context:
space:
mode:
authorGoogler <noreply@google.com>2018-08-16 15:32:42 -0700
committerShentubot <shentubot@google.com>2018-08-16 15:34:00 -0700
commitfbd5df9c6fec9119c8036bf5664a27afb35a08ec (patch)
tree2005b690ac3f30ef7d52a3f233435d6717281dfb /pkg/tcpip/transport
parentda087e66cc0eb1616437e5b729576801671d3696 (diff)
Internal change.
PiperOrigin-RevId: 209060862 Change-Id: I2cd02f0032b80d0087110095548b1a8ffa696ac2
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r--pkg/tcpip/transport/tcp/tcp_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/tcp/tcp_test.go b/pkg/tcpip/transport/tcp/tcp_test.go
index 11410b050..74318c012 100644
--- a/pkg/tcpip/transport/tcp/tcp_test.go
+++ b/pkg/tcpip/transport/tcp/tcp_test.go
@@ -2949,13 +2949,13 @@ func TestTCPEndpointProbe(t *testing.T) {
// We don't do an extensive validation of every field but a
// basic sanity test.
if got, want := state.ID.LocalAddress, tcpip.Address(context.StackAddr); got != want {
- t.Fatalf("unexpected LocalAddress got: %d, want: %d", got, want)
+ t.Fatalf("unexpected LocalAddress got: %q, want: %q", got, want)
}
if got, want := state.ID.LocalPort, c.Port; got != want {
t.Fatalf("unexpected LocalPort got: %d, want: %d", got, want)
}
if got, want := state.ID.RemoteAddress, tcpip.Address(context.TestAddr); got != want {
- t.Fatalf("unexpected RemoteAddress got: %d, want: %d", got, want)
+ t.Fatalf("unexpected RemoteAddress got: %q, want: %q", got, want)
}
if got, want := state.ID.RemotePort, uint16(context.TestPort); got != want {
t.Fatalf("unexpected RemotePort got: %d, want: %d", got, want)