From 82fa0389acde185744a33fa92e35fd0f6e3b79e9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 8 Nov 2019 12:47:30 -0500 Subject: remove unnecessary accessors nobody should be caring about the terminal state internals --- tests/escape.rs | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'tests/escape.rs') 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()); -- cgit v1.2.3-54-g00ecf