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/basic.rs | |
parent | 7958770a507d17e4beed17009206322c6d8fb7c0 (diff) | |
download | vt100-rust-ea55c107307ef8bca11accc09ff2c47c74745cb1.tar.gz vt100-rust-ea55c107307ef8bca11accc09ff2c47c74745cb1.zip |
more useful contents/contents_formatted behavior
Diffstat (limited to 'tests/basic.rs')
-rw-r--r-- | tests/basic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic.rs b/tests/basic.rs index b260a23..f26e175 100644 --- a/tests/basic.rs +++ b/tests/basic.rs @@ -9,7 +9,7 @@ fn process_text() { let mut screen = vt100::Screen::new(24, 80); let input = b"foo\x1b[31m\x1b[32mb\x1b[3;7;42ma\x1b[23mr"; screen.process(input); - assert_eq!(screen.contents(0, 0, 0, 50), "foobar\n"); + assert_eq!(screen.contents(0, 0, 0, 50), "foobar"); } #[test] |