1
1
mirror of https://github.com/wez/wezterm.git synced 2025-01-08 23:17:36 +03:00

fixup tests

This commit is contained in:
Wez Furlong 2021-06-10 20:40:57 -07:00
parent c7ec47e2c0
commit 2e7dc70eaf

View File

@ -286,7 +286,7 @@ mod test {
let cell_clusters = line.cluster();
assert_eq!(cell_clusters.len(), 1);
let cluster = &cell_clusters[0];
let infos = font.shape(&cluster.text, || {}).unwrap();
let infos = font.shape(&cluster.text, || {}, |_| {}).unwrap();
let glyphs = infos
.iter()
.map(|info| {
@ -384,7 +384,7 @@ mod test {
let cluster = &cell_clusters[0];
measurer.measure(|| {
let _x = font.shape(&cluster.text, || {}).unwrap();
let _x = font.shape(&cluster.text, || {}, |_| {}).unwrap();
// println!("{:?}", &x[0..2]);
});
})