diff options
Diffstat (limited to 'helix-tui/tests')
-rw-r--r-- | helix-tui/tests/terminal.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helix-tui/tests/terminal.rs b/helix-tui/tests/terminal.rs index 3e1c19e3..3dd3b0b0 100644 --- a/helix-tui/tests/terminal.rs +++ b/helix-tui/tests/terminal.rs @@ -17,15 +17,15 @@ fn terminal_buffer_size_should_be_limited() { // let backend = TestBackend::new(10, 10); // let mut terminal = Terminal::new(backend)?; // let frame = terminal.draw(|f| { -// let paragrah = Paragraph::new("Test"); -// f.render_widget(paragrah, f.size()); +// let paragraph = Paragraph::new("Test"); +// f.render_widget(paragraph, f.size()); // })?; // assert_eq!(frame.buffer.get(0, 0).symbol, "T"); // assert_eq!(frame.area, Rect::new(0, 0, 10, 10)); // terminal.backend_mut().resize(8, 8); // let frame = terminal.draw(|f| { -// let paragrah = Paragraph::new("test"); -// f.render_widget(paragrah, f.size()); +// let paragraph = Paragraph::new("test"); +// f.render_widget(paragraph, f.size()); // })?; // assert_eq!(frame.buffer.get(0, 0).symbol, "t"); // assert_eq!(frame.area, Rect::new(0, 0, 8, 8)); |