mirror of
https://github.com/codewhale-hq/Codewhale.git
synced 2026-11-10 01:51:32 -10:00
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:
1 parent
b02072e6f1
commit
079e686ce0
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user