fix(tui): satisfy clippy unnecessary_get_then_check in sandbox test

Release parity Clippy on Linux failed with -D warnings on
`env.get("DEEPSEEK_SANDBOX").is_none()`. Use contains_key instead.
This commit is contained in:
Hunter B committed 2026-07-24 12:45:22 -07:00
1 parent b02072e6f1
commit 079e686ce0
1 file changed
+1 -1
+1 -1
View File
@@ -961,7 +961,7 @@ mod tests {
assert_eq!(env.program(), bwrap::BWRAP_PATH);
} else {
assert_eq!(env.sandbox_type, SandboxType::None);
assert!(env.env.get("DEEPSEEK_SANDBOX").is_none());
assert!(!env.env.contains_key("DEEPSEEK_SANDBOX"));
}
}
let _ = env;