about summary refs log tree commit diff
path: root/src/libterm
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-30 14:28:20 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-03 09:32:34 -0800
commit41cde566bb81bdd5f9ffdefadc7c8256c65624dc (patch)
tree5e604ccb7379c89f7c81558b5376a5ffde0035af /src/libterm
parent209642c65177d6cf42dd4eea693040aa91cde9ee (diff)
downloadrust-41cde566bb81bdd5f9ffdefadc7c8256c65624dc.tar.gz
rust-41cde566bb81bdd5f9ffdefadc7c8256c65624dc.zip
extra: Fix tests with io_error usage
Diffstat (limited to 'src/libterm')
-rw-r--r--src/libterm/terminfo/searcher.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libterm/terminfo/searcher.rs b/src/libterm/terminfo/searcher.rs
index 421f8581b58..5b536d9aafa 100644
--- a/src/libterm/terminfo/searcher.rs
+++ b/src/libterm/terminfo/searcher.rs
@@ -106,7 +106,7 @@ fn test_get_dbpath_for_term() {
 #[test]
 #[ignore(reason = "see test_get_dbpath_for_term")]
 fn test_open() {
-    open("screen");
+    open("screen").unwrap();
     let t = open("nonexistent terminal that hopefully does not exist");
     assert!(t.is_err());
 }