Skip to content

Commit e323efd

Browse files
BunsDevCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f0a7f67 commit e323efd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/integration/src/test

crates/integration/src/test/ssh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ pub fn test_ssh_with_shell_override() -> Builder {
317317
// Requires the GCP IAP SSH integration testing VM. Set
318318
// CAST_CODES_SSH_INTEGRATION_TESTS=1 to opt in.
319319
.set_should_run_test(|| {
320-
if std::env::var("CAST_CODES_SSH_INTEGRATION_TESTS").is_err() {
320+
if std::env::var("CAST_CODES_SSH_INTEGRATION_TESTS").ok().as_deref() != Some("1") {
321321
return false;
322322
}
323323
let (starter, _) = current_shell_starter_and_version();

0 commit comments

Comments
 (0)