Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

install.spec: expect the bottle-only Homebrew tmux install and its fallback line

dee2faf319f1bfb
diff --git a/cli/src/scripts/install.spec.ts b/cli/src/scripts/install.spec.ts
index d0a715b86..445887376 100644
--- a/cli/src/scripts/install.spec.ts
+++ b/cli/src/scripts/install.spec.ts
@@ -203,7 +203,7 @@ describe("scripts/install.sh command contract", () => {
});
expect(result.status).toBe(0);
- expect(readFileSync(invocations, "utf8")).toContain("install tmux\n");
+ expect(readFileSync(invocations, "utf8")).toContain("install --force-bottle tmux\n");
expect(result.stdout).not.toContain("managed");
expect(() => readFileSync(fetched, "utf8")).toThrow();
} finally {
@@ -330,7 +330,7 @@ describe("scripts/install.sh command contract", () => {
});
expect(result.status).toBe(0);
- expect(result.stdout).toContain("Homebrew could not install tmux");
+ expect(result.stdout).toContain("No Homebrew tmux bottle for this Mac; using the managed build instead.");
expect(readlinkSync(join(home, ".local", "bin", "tmux"))).toContain(root);
} finally {
rmSync(scratch, { recursive: true, force: true });