1
use crate::Mode;
2

            
3
#[test]
4
2
fn test_mode_display() {
5
1
    assert_eq!(format!("{}", Mode::Normal), "NORMAL");
6
1
    assert_eq!(format!("{}", Mode::Insert), "INSERT");
7
2
}