tests: improved testability
This commit is contained in:
23
tests/snapshots/ui_snapshot__ui_snapshot_basic.snap
Normal file
23
tests/snapshots/ui_snapshot__ui_snapshot_basic.snap
Normal 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,
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user