diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-04 00:49:21 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-04 00:49:21 -0500 |
commit | ea55c107307ef8bca11accc09ff2c47c74745cb1 (patch) | |
tree | 395f68717c932559f0d027d73dd226e0c380c135 /tests/init.rs | |
parent | 7958770a507d17e4beed17009206322c6d8fb7c0 (diff) | |
download | vt100-rust-ea55c107307ef8bca11accc09ff2c47c74745cb1.tar.gz vt100-rust-ea55c107307ef8bca11accc09ff2c47c74745cb1.zip |
more useful contents/contents_formatted behavior
Diffstat (limited to 'tests/init.rs')
-rw-r--r-- | tests/init.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/init.rs b/tests/init.rs index 4893f4a..7617fe7 100644 --- a/tests/init.rs +++ b/tests/init.rs @@ -15,14 +15,8 @@ fn init() { let cell = screen.cell(0, 80); assert!(cell.is_none()); - assert_eq!( - screen.contents(0, 0, 23, 79), - "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" - ); - assert_eq!( - screen.contents_formatted(0, 0, 23, 79), - "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" - ); + assert_eq!(screen.contents(0, 0, 23, 79), ""); + assert_eq!(screen.contents_formatted(0, 0, 23, 79), ""); assert_eq!(screen.title(), ""); assert_eq!(screen.icon_name(), ""); |