diff options
Diffstat (limited to 'src/url.rs')
-rw-r--r-- | src/url.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -128,7 +128,9 @@ mod tests { use crate::grid::Grid; use crate::index::{Column, Line, Point}; - use crate::term::{Cell, Search, SizeInfo, Term}; + use crate::term::{Search, SizeInfo, Term}; + use crate::term::cell::Cell; + use crate::message_bar::MessageBuffer; fn url_create_term(input: &str) -> Term { let size = SizeInfo { @@ -141,7 +143,7 @@ mod tests { dpr: 1.0, }; - let mut term = Term::new(&Default::default(), size); + let mut term = Term::new(&Default::default(), size, MessageBuffer::new()); let mut grid: Grid<Cell> = Grid::new(Line(1), Column(input.len()), 0, Cell::default()); for (i, c) in input.chars().enumerate() { |