tests: improved testability

This commit is contained in:
Lukas Wölfer
2026-01-24 09:41:22 +01:00
parent 1e0a8c639a
commit 71f88cb6ea
7 changed files with 301 additions and 44 deletions

View File

@@ -0,0 +1,23 @@
---
source: tests/ui_snapshot.rs
assertion_line: 50
expression: out
---
Buffer {
area: Rect { x: 0, y: 0, width: 40, height: 10 },
content: [
"┌Lines (space to mark, q to quit)──────┐",
"│[ ] first │",
"│[x] second │",
"│[ ] third │",
"│ │",
"│ │",
"│ │",
"│ │",
"│ │",
"└──────────────────────────────────────┘",
],
styles: [
x: 0, y: 0, fg: Reset, bg: Reset, underline: Reset, modifier: NONE,
]
}