FIX: fmt issues
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
df0aa51d14
commit
f7dac8b015
@@ -1018,16 +1018,17 @@ fn border_top() {
|
|||||||
style: BorderStyle::Thin,
|
style: BorderStyle::Thin,
|
||||||
color: Some("#F2F2F2".to_string()),
|
color: Some("#F2F2F2".to_string()),
|
||||||
};
|
};
|
||||||
assert_eq!(model._get_cell_actual_border("C4").bottom, Some(border_item));
|
assert_eq!(
|
||||||
|
model._get_cell_actual_border("C4").bottom,
|
||||||
|
Some(border_item)
|
||||||
|
);
|
||||||
|
|
||||||
model.undo().unwrap();
|
model.undo().unwrap();
|
||||||
|
|
||||||
|
|
||||||
// This tests that diff lists go in the right order
|
// This tests that diff lists go in the right order
|
||||||
let border_item = BorderItem {
|
let border_item = BorderItem {
|
||||||
style: BorderStyle::Thin,
|
style: BorderStyle::Thin,
|
||||||
color: Some("#000000".to_string()),
|
color: Some("#000000".to_string()),
|
||||||
};
|
};
|
||||||
assert_eq!(model._get_cell_actual_border("C4").top, Some(border_item));
|
assert_eq!(model._get_cell_actual_border("C4").top, Some(border_item));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,8 +42,7 @@ impl UserModel {
|
|||||||
}},
|
}},
|
||||||
"type": "{}"
|
"type": "{}"
|
||||||
}}"##,
|
}}"##,
|
||||||
color,
|
color, kind
|
||||||
kind
|
|
||||||
))
|
))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
let range = &Area {
|
let range = &Area {
|
||||||
|
|||||||
Reference in New Issue
Block a user