We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 535a1bc commit ddc018fCopy full SHA for ddc018f
test/src/term/terminfo/searcher/tests.rs
@@ -11,7 +11,11 @@ fn test_get_dbpath_for_term() {
11
}
12
assert_eq!(x("screen"), PathBuf::from("/usr/share/terminfo/s/screen"));
13
assert_eq!(get_dbpath_for_term(""), None);
14
- env::set_var("TERMINFO_DIRS", ":");
+ unsafe {
15
+ env::set_var("TERMINFO_DIRS", ":");
16
+ }
17
- env::remove_var("TERMINFO_DIRS");
18
19
+ env::remove_var("TERMINFO_DIRS");
20
21
0 commit comments