fix: isolated-tests for localhost
Some checks failed
Install.sh / build (push) Has been cancelled
Linux / build (push) Has been cancelled
MacOS / build (push) Has been cancelled
Windows / build (push) Has been cancelled

This commit is contained in:
veeso
2024-11-13 17:06:34 +01:00
parent 099e2154ba
commit 7dba691ccc

View File

@@ -579,6 +579,7 @@ mod tests {
#[test]
#[cfg(posix)]
#[cfg(not(feature = "isolated-tests"))]
fn test_host_localhost_new() {
let host: Localhost = Localhost::new(PathBuf::from("/dev")).ok().unwrap();
assert_eq!(host.wrkdir, PathBuf::from("/dev"));
@@ -622,6 +623,7 @@ mod tests {
#[test]
#[cfg(posix)]
#[cfg(not(feature = "isolated-tests"))]
fn test_host_localhost_change_dir() {
let mut host: Localhost = Localhost::new(PathBuf::from("/dev")).ok().unwrap();
let new_dir: PathBuf = PathBuf::from("/dev");