Fix up test_lkayout_with_placeholder_text_and_blocks (uncomment last standing assert)
This commit is contained in:
parent
590238bcca
commit
dffe323e73
1 changed files with 8 additions and 9 deletions
|
@ -3503,15 +3503,14 @@ mod tests {
|
||||||
let size = state.position_map.size;
|
let size = state.position_map.size;
|
||||||
|
|
||||||
assert_eq!(state.position_map.line_layouts.len(), 4);
|
assert_eq!(state.position_map.line_layouts.len(), 4);
|
||||||
// todo!() uncomment this assert
|
assert_eq!(
|
||||||
// assert_eq!(
|
state
|
||||||
// state
|
.line_numbers
|
||||||
// .line_number_layouts
|
.iter()
|
||||||
// .iter()
|
.map(Option::is_some)
|
||||||
// .map(Option::is_some)
|
.collect::<Vec<_>>(),
|
||||||
// .collect::<Vec<_>>(),
|
&[false, false, false, true]
|
||||||
// &[false, false, false, true]
|
);
|
||||||
// );
|
|
||||||
|
|
||||||
// Don't panic.
|
// Don't panic.
|
||||||
let bounds = Bounds::<Pixels>::new(Default::default(), size);
|
let bounds = Bounds::<Pixels>::new(Default::default(), size);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue