We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6236fa commit 54a6bb7Copy full SHA for 54a6bb7
library/test/src/term/terminfo/searcher/tests.rs
@@ -11,9 +11,9 @@ fn test_get_dbpath_for_term() {
11
let p = get_dbpath_for_term(t).expect("no terminfo entry found");
12
p.to_str().unwrap().to_string()
13
}
14
- assert!(x("screen") == "/usr/share/terminfo/s/screen");
15
- assert!(get_dbpath_for_term("") == None);
+ assert_eq!(x("screen"), "/usr/share/terminfo/s/screen");
+ assert_eq!(get_dbpath_for_term(""), None);
16
env::set_var("TERMINFO_DIRS", ":");
17
18
env::remove_var("TERMINFO_DIRS");
19
0 commit comments