diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-08 12:47:30 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-08 12:51:02 -0500 |
commit | 82fa0389acde185744a33fa92e35fd0f6e3b79e9 (patch) | |
tree | 2f9c8c4ef972914f097bc1b16d5c9d28e7a14290 /tests/escape.rs | |
parent | 6abfaac01daa6f1ba959c8e522d4fd439babaaee (diff) | |
download | vt100-rust-82fa0389acde185744a33fa92e35fd0f6e3b79e9.tar.gz vt100-rust-82fa0389acde185744a33fa92e35fd0f6e3b79e9.zip |
remove unnecessary accessors
nobody should be caring about the terminal state internals
Diffstat (limited to 'tests/escape.rs')
-rw-r--r-- | tests/escape.rs | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/escape.rs b/tests/escape.rs index 5ab8581..2b7b9e4 100644 --- a/tests/escape.rs +++ b/tests/escape.rs @@ -40,14 +40,6 @@ fn ris() { assert_eq!(parser.screen().title(), ""); assert_eq!(parser.screen().icon_name(), ""); - assert_eq!(parser.screen().fgcolor(), vt100::Color::Default); - assert_eq!(parser.screen().bgcolor(), vt100::Color::Default); - - assert!(!parser.screen().bold()); - assert!(!parser.screen().italic()); - assert!(!parser.screen().underline()); - assert!(!parser.screen().inverse()); - assert!(!parser.screen_mut().check_visual_bell()); assert!(!parser.screen_mut().check_audible_bell()); assert!(!parser.screen().application_keypad()); @@ -79,14 +71,6 @@ fn ris() { assert_eq!(parser.screen().title(), "window title"); assert_eq!(parser.screen().icon_name(), "window icon name"); - assert_eq!(parser.screen().fgcolor(), vt100::Color::Idx(1)); - assert_eq!(parser.screen().bgcolor(), vt100::Color::Idx(7)); - - assert!(parser.screen().bold()); - assert!(parser.screen().italic()); - assert!(parser.screen().underline()); - assert!(parser.screen().inverse()); - assert!(parser.screen_mut().check_visual_bell()); assert!(parser.screen_mut().check_audible_bell()); assert!(parser.screen().application_keypad()); @@ -118,14 +102,6 @@ fn ris() { assert_eq!(parser.screen().title(), "window title"); assert_eq!(parser.screen().icon_name(), "window icon name"); - assert_eq!(parser.screen().fgcolor(), vt100::Color::Default); - assert_eq!(parser.screen().bgcolor(), vt100::Color::Default); - - assert!(!parser.screen().bold()); - assert!(!parser.screen().italic()); - assert!(!parser.screen().underline()); - assert!(!parser.screen().inverse()); - // bell states don't change with reset assert!(parser.screen_mut().check_visual_bell()); assert!(parser.screen_mut().check_audible_bell()); |