mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-16 16:28:58 +00:00
zig fmt
This commit is contained in:
@@ -47,7 +47,6 @@ const MAX_HTTP_REQUEST_SIZE = 2048;
|
|||||||
// +140 for the max control packet that might be interleaved in a message
|
// +140 for the max control packet that might be interleaved in a message
|
||||||
const MAX_MESSAGE_SIZE = 256 * 1024 + 14;
|
const MAX_MESSAGE_SIZE = 256 * 1024 + 14;
|
||||||
|
|
||||||
|
|
||||||
pub const Client = ClientT(*Server, CDP);
|
pub const Client = ClientT(*Server, CDP);
|
||||||
|
|
||||||
const Server = struct {
|
const Server = struct {
|
||||||
@@ -1222,7 +1221,6 @@ test "Client: write websocket message" {
|
|||||||
.{ .expected = &.{ 129, 2, '"', '"' }, .message = "" },
|
.{ .expected = &.{ 129, 2, '"', '"' }, .message = "" },
|
||||||
.{ .expected = [_]u8{ 129, 14 } ++ "\"hello world!\"", .message = "hello world!" },
|
.{ .expected = [_]u8{ 129, 14 } ++ "\"hello world!\"", .message = "hello world!" },
|
||||||
.{ .expected = [_]u8{ 129, 126, 0, 132 } ++ "\"" ++ ("A" ** 130) ++ "\"", .message = "A" ** 130 },
|
.{ .expected = [_]u8{ 129, 126, 0, 132 } ++ "\"" ++ ("A" ** 130) ++ "\"", .message = "A" ** 130 },
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
for (cases) |c| {
|
for (cases) |c| {
|
||||||
|
|||||||
Reference in New Issue
Block a user