refactor: hard-fork GSD -> MSD (Make Software Done)
Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
/**
|
||||
* Tests for `src/token-scanner.cts` — the tokenizer-first seam (#3212 Phase 3, #3414).
|
||||
*
|
||||
* Design: .gsd/phase/chore-3414-tokenizer-first-seam/40-design.md
|
||||
* Test matrix: .gsd/phase/chore-3414-tokenizer-first-seam/50-test-matrix.md
|
||||
* Design: .msd/phase/chore-3414-tokenizer-first-seam/40-design.md
|
||||
* Test matrix: .msd/phase/chore-3414-tokenizer-first-seam/50-test-matrix.md
|
||||
* ADR: docs/adr/3212-lexical-seam-consolidation.md §4, §6, §7
|
||||
*
|
||||
* TDD RED: `src/token-scanner.cts` does not exist yet — this file's
|
||||
* `require('../gsd-core/bin/lib/token-scanner.cjs')` throws MODULE_NOT_FOUND until
|
||||
* `require('../msd-core/bin/lib/token-scanner.cjs')` throws MODULE_NOT_FOUND until
|
||||
* the implementing phase adds it (mirrors tests/pattern.test.cjs / tests/text-lines.test.cjs's
|
||||
* RED convention from Phases 1-2).
|
||||
*
|
||||
@@ -23,13 +23,13 @@ const path = require('node:path');
|
||||
// Seeded fast-check convention: require the shared setup helper (NOT
|
||||
// 'fast-check' directly) so numRuns/seed are configured globally before any
|
||||
// fc.assert() call — mirrors tests/pattern.test.cjs / tests/text-lines.test.cjs.
|
||||
// seed: 42, overridable via GSD_FC_SEED. Required by TESTING-STANDARDS.md:169
|
||||
// seed: 42, overridable via MSD_FC_SEED. Required by TESTING-STANDARDS.md:169
|
||||
// ("modules that implement parsing... must include at least one fast-check
|
||||
// property test asserting a domain invariant") — a review finding this phase
|
||||
// missed on first pass; both invariants below are added in response to it.
|
||||
const fc = require('./helpers/fast-check-setup.cjs');
|
||||
|
||||
const { tokenizeShellLike, indentWidth } = require('../gsd-core/bin/lib/token-scanner.cjs');
|
||||
const { tokenizeShellLike, indentWidth } = require('../msd-core/bin/lib/token-scanner.cjs');
|
||||
const { tokenize: gitCmdTokenize } = require(path.join(__dirname, '..', 'hooks', 'lib', 'git-cmd.js'));
|
||||
|
||||
// ─── tokenizeShellLike — rows 1-5 ──────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user