diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-11-10 08:31:12 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-11-10 08:31:12 -0500 |
commit | 8d4dda299bc3f105d86eea0f59acdd37130f291c (patch) | |
tree | 78cbf7787570654958529436113ced05329deade /tests/processing.rs | |
parent | 90d19a9cc76fd36b3155bd5d06cf72f7e76ce9a5 (diff) | |
download | vt100-rust-8d4dda299bc3f105d86eea0f59acdd37130f291c.tar.gz vt100-rust-8d4dda299bc3f105d86eea0f59acdd37130f291c.zip |
add Default impl for Parser
Diffstat (limited to 'tests/processing.rs')
-rw-r--r-- | tests/processing.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/processing.rs b/tests/processing.rs index 7cc384c..5bfb85d 100644 --- a/tests/processing.rs +++ b/tests/processing.rs @@ -2,7 +2,7 @@ #[test] fn split_escape_sequences() { - let mut parser = vt100::Parser::new(24, 80, 0); + let mut parser = vt100::Parser::default(); let contents = parser.screen().contents(); parser.process(b"abc"); assert_ne!(parser.screen().contents(), contents); @@ -193,7 +193,7 @@ fn split_escape_sequences() { #[test] fn split_utf8() { - let mut parser = vt100::Parser::new(24, 80, 0); + let mut parser = vt100::Parser::default(); let contents = parser.screen().contents(); parser.process(b"a"); assert_ne!(parser.screen().contents(), contents); |