mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +00:00
Fix detect_binary test to work on Ubuntu (dash) sandboxes
`sh --version` exits non-zero on dash (Ubuntu default), so the test only passed on macOS where sh is bash. Use `git` instead which reliably supports --version on all platforms. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c5df9176b3
commit
25ec842a7f
1 changed files with 1 additions and 1 deletions
|
|
@ -993,7 +993,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn detect_binary_finds_existing_command() {
|
||||
assert!(detect_binary_on_path("sh"));
|
||||
assert!(detect_binary_on_path("git"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue