diff --git a/server_test.go b/server_test.go index 77ba4c98e..726c74233 100644 --- a/server_test.go +++ b/server_test.go @@ -404,7 +404,7 @@ func TestServerRequestTimeout(t *testing.T) { dl, _ := ctx.Deadline() if result.Deadline != dl.UnixNano() { - t.Fatalf("expected deadline %v, actual: %v", dl, result.Deadline) + t.Fatalf("expected deadline %v, actual: %v", dl, time.Unix(0, result.Deadline)) } }