terminfo: increase buffer size for test

This commit is contained in:
Mitchell Hashimoto
2023-09-27 21:56:55 -07:00
parent 1942baefc6
commit 0529c8bc28

View File

@ -361,7 +361,7 @@ pub const ghostty: Source = .{
test "encode" { test "encode" {
// Encode // Encode
var buf: [4096]u8 = undefined; var buf: [1024 * 16]u8 = undefined;
var buf_stream = std.io.fixedBufferStream(&buf); var buf_stream = std.io.fixedBufferStream(&buf);
try ghostty.encode(buf_stream.writer()); try ghostty.encode(buf_stream.writer());
try std.testing.expect(buf_stream.getWritten().len > 0); try std.testing.expect(buf_stream.getWritten().len > 0);