Skip to content

Commit 9dd0e62

Browse files
committed
fix(ci): clean up linux lint qualifiers
1 parent 88b41cf commit 9dd0e62

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

  • crates/openshell-sandbox/src/sandbox/linux

crates/openshell-sandbox/src/sandbox/linux/netns.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -922,10 +922,7 @@ mod tests {
922922

923923
// Verify namespace exists
924924
let ns_path = format!("/var/run/netns/{name}");
925-
assert!(
926-
std::path::Path::new(&ns_path).exists(),
927-
"Namespace file should exist"
928-
);
925+
assert!(Path::new(&ns_path).exists(), "Namespace file should exist");
929926

930927
// Verify IPs are set correctly
931928
assert_eq!(
@@ -942,7 +939,7 @@ mod tests {
942939

943940
// Verify namespace is gone
944941
assert!(
945-
!std::path::Path::new(&ns_path).exists(),
942+
!Path::new(&ns_path).exists(),
946943
"Namespace should be cleaned up"
947944
);
948945
}

0 commit comments

Comments
 (0)