mirror of
https://github.com/wez/wezterm.git
synced 2025-01-08 23:17:36 +03:00
fixup tests
This commit is contained in:
parent
c7ec47e2c0
commit
2e7dc70eaf
@ -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]);
|
||||
});
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user