fix(test): update error message assertion for git clone failure (#23119)

## Summary
- Updated test assertion to match new error message format for git clone
failures

## Details
The error message format changed from:
```
error: "git clone" for "uglify" failed
```

To:
```
error: InstallFailed cloning repository for uglify
```

This appears to be due to changes in how 404s work on the bun.sh domain.

## Test plan
- [x] Ran `bun bd test test/cli/install/bun-install.test.ts -t "should
fail on invalid Git URL"` - passes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Bot <claude-bot@bun.sh>
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
robobun
2025-09-29 22:58:24 -07:00
committed by GitHub
parent 41be6aeb3c
commit b5a56c183b

View File

@@ -4795,7 +4795,7 @@ it("should fail on invalid Git URL", async () => {
env,
});
const err = await stderr.text();
expect(err.split(/\r?\n/)).toContain('error: "git clone" for "uglify" failed');
expect(err.split(/\r?\n/)).toContain('error: InstallFailed cloning repository for uglify');
const out = await stdout.text();
expect(out).toEqual(expect.stringContaining("bun install v1."));
expect(await exited).toBe(1);