chore: update test expectation

This commit is contained in:
Eric Bower
2026-01-01 20:24:33 -05:00
parent ea03c5c8a2
commit f316c969a5

View File

@@ -3427,7 +3427,9 @@ test "Page VT multi-line with styles" {
try formatter.format(&builder.writer);
const output = builder.writer.buffered();
try testing.expectEqualStrings("\x1b[0m\x1b[1mfirst\r\n\x1b[0m\x1b[3msecond\x1b[0m", output);
// Note: style is reset before newline to prevent background colors from
// bleeding to the next line's leading cells.
try testing.expectEqualStrings("\x1b[0m\x1b[1mfirst\x1b[0m\r\n\x1b[0m\x1b[3msecond\x1b[0m", output);
// Verify point map matches output length
try testing.expectEqual(output.len, point_map.items.len);