aboutsummaryrefslogtreecommitdiffstats
path: root/tests/escape.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-08 12:47:30 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-08 12:51:02 -0500
commit82fa0389acde185744a33fa92e35fd0f6e3b79e9 (patch)
tree2f9c8c4ef972914f097bc1b16d5c9d28e7a14290 /tests/escape.rs
parent6abfaac01daa6f1ba959c8e522d4fd439babaaee (diff)
downloadvt100-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.rs24
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());