Skip to content

Commit 0dcf5a0

Browse files
committed
Fix test
1 parent 7a92dc9 commit 0dcf5a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/epaint/src/text/text_layout.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,7 @@ mod tests {
11381138
LayoutJob::single_section("# DNA\nMore text".into(), TextFormat::default());
11391139
layout_job.wrap.max_width = f32::INFINITY;
11401140
layout_job.wrap.max_rows = 1;
1141+
layout_job.round_output_to_gui = false;
11411142
let galley = layout(&mut fonts, layout_job.into());
11421143
assert!(galley.elided);
11431144
assert_eq!(

0 commit comments

Comments
 (0)