Skip to content

Commit

Permalink
FIX: fmt issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatcher committed Nov 27, 2024
1 parent df0aa51 commit f7dac8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 4 additions & 3 deletions base/src/test/user_model/test_border.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,16 +1018,17 @@ fn border_top() {
style: BorderStyle::Thin,
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();


// This tests that diff lists go in the right order
let border_item = BorderItem {
style: BorderStyle::Thin,
color: Some("#000000".to_string()),
};
assert_eq!(model._get_cell_actual_border("C4").top, Some(border_item));

}
3 changes: 1 addition & 2 deletions base/src/test/user_model/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ impl UserModel {
}},
"type": "{}"
}}"##,
color,
kind
color, kind
))
.unwrap();
let range = &Area {
Expand Down

0 comments on commit f7dac8b

Please sign in to comment.