FIX: fmt issues

This commit is contained in:
Nicolás Hatcher
2024-11-25 23:14:55 +01:00
committed by Nicolás Hatcher Andrés
parent df0aa51d14
commit f7dac8b015
2 changed files with 5 additions and 5 deletions

View File

@@ -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));
} }

View File

@@ -42,8 +42,7 @@ impl UserModel {
}}, }},
"type": "{}" "type": "{}"
}}"##, }}"##,
color, color, kind
kind
)) ))
.unwrap(); .unwrap();
let range = &Area { let range = &Area {