aboutsummaryrefslogtreecommitdiffstats
path: root/tests/attr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/attr.rs')
-rw-r--r--tests/attr.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/attr.rs b/tests/attr.rs
index 3d33b07..bd5aac9 100644
--- a/tests/attr.rs
+++ b/tests/attr.rs
@@ -2,7 +2,7 @@
#[test]
fn colors() {
- let mut parser = vt100::Parser::new(24, 80, 0);
+ let mut parser = vt100::Parser::default();
parser.process(b"foo\x1b[31mbar");
@@ -175,7 +175,7 @@ fn colors() {
#[test]
fn attrs() {
- let mut parser = vt100::Parser::new(24, 80, 0);
+ let mut parser = vt100::Parser::default();
parser.process(b"f\x1b[1mo\x1b[3mo\x1b[4mo\x1b[7mo");
assert!(!parser.screen().cell(0, 0).unwrap().bold());