summaryrefslogtreecommitdiff
path: root/src/url.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/url.rs')
-rw-r--r--src/url.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/url.rs b/src/url.rs
index 0db083be..836c36ba 100644
--- a/src/url.rs
+++ b/src/url.rs
@@ -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() {