From c8d41ea3030fef57c87f63797fbc3fcaff2ee39c Mon Sep 17 00:00:00 2001 From: Alan Jowett Date: Thu, 16 Apr 2026 08:30:03 -0700 Subject: [PATCH] fix: restore em-dash characters corrupted to ??? in launch tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #238 introduced encoding corruption where em-dash characters (—) were replaced with ??? in four locations in launch.test.js. This restores the original Unicode em-dash (U+2014) characters. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- cli/tests/launch.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/tests/launch.test.js b/cli/tests/launch.test.js index 19b9856..21a3c08 100644 --- a/cli/tests/launch.test.js +++ b/cli/tests/launch.test.js @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -// cli/tests/launch.test.js ??? Launch module unit tests +// cli/tests/launch.test.js — Launch module unit tests const { describe, it, before, after } = require("node:test"); const assert = require("node:assert"); @@ -46,7 +46,7 @@ describe("Launch Module", () => { before(() => { assert.ok( fs.existsSync(contentDir), - "content/ must exist ??? run 'npm run prepare' first" + "content/ must exist — run 'npm run prepare' first" ); }); @@ -257,7 +257,7 @@ describe("Launch Module", () => { .join("\n"); assert.ok( !/\bshell\s*:\s*true\b/.test(nonCommentLines), - "launch.js must not pass shell: true to spawn() ??? doing so splits the bootstrap prompt into multiple arguments" + "launch.js must not pass shell: true to spawn() — doing so splits the bootstrap prompt into multiple arguments" ); }); }); @@ -331,7 +331,7 @@ describe("Launch Module", () => { } for (const cliName of ["claude", "copilot", "gh-copilot", "codex"]) { - // TC-CLI-082 and TC-CLI-083 combined ??? run once per CLI + // TC-CLI-082 and TC-CLI-083 combined — run once per CLI it(`TC-CLI-082/083: ${cliName} spawned with originalCwd and --add-dir for staging dir`, () => { const mockBinDir = path.join(cwdTestTmpDir, `mock-bin-${cliName}`); fs.mkdirSync(mockBinDir, { recursive: true });