Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
linrongbin16 committed Aug 7, 2024
1 parent 60e287d commit e7e0c5d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,15 +505,9 @@ mod tests {

#[test]
fn test_set_cursor_style() {
assert_eq!(
SetCursorStyle::DefaultUserShape,
SetCursorStyle::DefaultUserShape
);
assert!(SetCursorStyle::DefaultUserShape == SetCursorStyle::DefaultUserShape);
assert!(SetCursorStyle::BlinkingBlock != SetCursorStyle::BlinkingUnderScore);
assert_eq!(SetCursorStyle::BlinkingBlock, SetCursorStyle::BlinkingBlock);
assert_ne!(
SetCursorStyle::BlinkingBlock,
SetCursorStyle::BlinkingUnderScore,
);
assert_eq!(format!("{:?}", SetCursorStyle::SteadyBar), "SteadyBar");
}
}

0 comments on commit e7e0c5d

Please sign in to comment.