aboutsummaryrefslogtreecommitdiffstats
path: root/tests/init.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-01 15:08:32 -0400
committerJesse Luehrs <doy@tozt.net>2019-11-01 15:08:32 -0400
commite2aeb18fa5f05458bdaa8488cc6424109f908855 (patch)
treecc15f13bffafc34c2744c0732d9f9eedc7b6ad6b /tests/init.rs
parentcb1595a43afa2f71ba1047d089fc7d60d88c6888 (diff)
downloadvt100-rust-e2aeb18fa5f05458bdaa8488cc6424109f908855.tar.gz
vt100-rust-e2aeb18fa5f05458bdaa8488cc6424109f908855.zip
there's no reason title and icon_name should be options
Diffstat (limited to 'tests/init.rs')
-rw-r--r--tests/init.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/init.rs b/tests/init.rs
index f5c896a..4eb3910 100644
--- a/tests/init.rs
+++ b/tests/init.rs
@@ -25,8 +25,8 @@ fn init() {
"\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.title(), None);
- assert_eq!(screen.icon_name(), None);
+ assert_eq!(screen.title(), "");
+ assert_eq!(screen.icon_name(), "");
assert_eq!(screen.fgcolor(), vt100::Color::Default);
assert_eq!(screen.bgcolor(), vt100::Color::Default);