mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-09 10:18:32 +01:00
fix(capy-install): the install reason names the project's pin and gstack's real minimum
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
da57291220
commit
2dc7afe707
2 files changed
+2
-1
No files matched your search
@@ -171,6 +171,7 @@ describe('gstack-capy-install', () => {
|
||||
expect(sh(`cd "${f.base}/z" && zip -qr "${zip}" bun-linux-x64`).status).toBe(0);
|
||||
const adopted = run(f, ['--project', project], { STUB_CURL_ZIP: zip });
|
||||
expect(adopted.stdout).toContain('installing bun 1.4.3 from its release archive');
|
||||
expect(adopted.stdout).not.toContain("gstack's minimum 1.4.3");
|
||||
expect(f.calls().filter(l => l.startsWith('curl '))).toEqual([expect.stringContaining('https://github.com/oven-sh/bun/releases/download/bun-v1.4.3/bun-linux')]);
|
||||
expect(adopted.status).toBe(3);
|
||||
expect(adopted.stderr).toContain('SHA-256 mismatch');
|
||||
|
||||
Reference in new issue
Block a user