Skip to content

Commit 2c7fffd

Browse files
committed
Keep a spawn spelling out of the helper guard
The detector test's near-miss sample spelled a bare binary spawn, which spawn_env_hygiene's raw-spawn scan reads as a real one and fails test-release and coverage. Use a plain binary() call instead. Assisted-by: Claude Code:claude-opus-5-5
1 parent c8ab3e3 commit 2c7fffd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/socket-patch-cli/tests/cli/shared_helper_copies.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ fn the_detector_sees_every_former_copy_shape() {
163163
}
164164
for not_a_copy in [
165165
"use common::{binary, git_sha256};",
166-
"let out = Command::new(binary()).output();",
166+
"let bin = binary();",
167167
"pub fn git_sha256_file(path: &Path) -> String {",
168168
] {
169169
assert!(

0 commit comments

Comments
 (0)