xonecas.io
64875
Mc

mini-coder / commit 1cfc972

test: use bun for huge-output shell truncation case

Tristan Deane2026-04-09 1cfc972f6d470ca88a718e5a9d2fa8afc61b08fc parent 26180c9

1 file changed

src/tools.test.ts+1−1
@@ -294,7 +294,7 @@ describe("shell", () => {
294294 const result = await executeShell(
295295 {
296296 command:
297- "python - <<'PY'\nfrom pathlib import Path\nprint(Path('huge-lines.txt').read_text(), end='')\nPY",
297+ "bun -e \"process.stdout.write(require('node:fs').readFileSync('huge-lines.txt', 'utf8'))\"",
298298 },
299299 tmp,
300300 {