aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-06 03:03:15 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-06 03:03:15 -0500
commitbf8c3de0e5d945167645ecfd4f6de18e048f356c (patch)
treec22fbf031cda06c1169a5be790cd87f04e0b9797 /tests/init.rs
parent7e7f4a10930498c2d576c7103054408a0915370e (diff)
downloadvt100-rust-bf8c3de0e5d945167645ecfd4f6de18e048f356c.tar.gz
vt100-rust-bf8c3de0e5d945167645ecfd4f6de18e048f356c.zip
contents_formatted should additionally clear the screen
Diffstat (limited to 'tests/init.rs')
-rw-r--r--tests/init.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/init.rs b/tests/init.rs
index 9647765..5623cd8 100644
--- a/tests/init.rs
+++ b/tests/init.rs
@@ -16,7 +16,7 @@ fn init() {
assert!(cell.is_none());
assert_eq!(parser.screen().contents(), "");
- assert_eq!(parser.screen().contents_formatted(), b"");
+ assert_eq!(parser.screen().contents_formatted(), b"\x1b[H\x1b[J");
assert_eq!(parser.screen().title(), "");
assert_eq!(parser.screen().icon_name(), "");