Skip to content

Commit fc521f0

Browse files
committed
no-mistakes(document): Consolidate stale test-comment vocabulary
1 parent 9228e91 commit fc521f0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

tests/fm-gate-refuse.test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ make_gate_worktree() {
9595
}
9696

9797
# make_normal_repo <dir> -> echoes a plain (non-gate) git repo to stand in for a
98-
# normal primary/crew checkout: its git-common-dir is <dir>/.git, never a gate.
98+
# normal primary/crewmate checkout: its git-common-dir is <dir>/.git, never a gate.
9999
make_normal_repo() {
100100
local dir=$1
101101
git init -q -b main "$dir"

tests/fm-secondmate-harness.test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ meta_field() { grep "^$2=" "$1" 2>/dev/null | tail -1 | cut -d= -f2-; }
480480
# capture technique in fm-spawn-dispatch-profile.test.sh so the constructed
481481
# launch command (not just meta) can be asserted on. Also answers the
482482
# `#{pane_current_path}` probe from FM_FAKE_PANE_PATH so this same stub works
483-
# for a crew/scout (non-secondmate) spawn's treehouse-worktree wait loop.
483+
# for a crewmate/scout (non-secondmate) spawn's treehouse-worktree wait loop.
484484
make_launch_capturing_tmux() {
485485
local dir=$1 fakebin="$1/fakebin"
486486
mkdir -p "$fakebin"
@@ -703,7 +703,7 @@ test_spawn_explicit_harness_uses_explicit_profile_axes() {
703703

704704
# The harness fallback chain (secondmate-harness -> crew-harness -> own) still
705705
# resolves correctly with no model/effort tokens anywhere in the chain, and a
706-
# crew/scout (non-secondmate) launch is entirely unaffected by this feature: no
706+
# crewmate/scout (non-secondmate) launch is entirely unaffected by this feature: no
707707
# model/effort is invented for it even though its own project has no profile set.
708708
test_spawn_fallback_chain_and_crew_scout_unaffected() {
709709
local w sm meta home proj wt fakebin launchlog id launch spawn_err spawn_rc node_bin node_dir
@@ -722,7 +722,7 @@ test_spawn_fallback_chain_and_crew_scout_unaffected() {
722722
[ "$(meta_field "$meta" model)" = default ] || fail "fallback: meta model should stay default with no tokens anywhere"
723723
[ "$(meta_field "$meta" effort)" = default ] || fail "fallback: meta effort should stay default with no tokens anywhere"
724724

725-
# Crew/scout launch: same crew-harness config, no --secondmate. Must resolve
725+
# Crewmate/scout launch: same crew-harness config, no --secondmate. Must resolve
726726
# the crewmate harness and record no model/effort - this codepath must never read
727727
# config/secondmate-harness's tokens at all.
728728
id="crew-unaffected-z1"

tests/fm-turnend-guard.test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ make_crewmate_worktree_dir() {
136136
printf '%s\n' "$dir"
137137
}
138138

139-
# A secondmate home's OWN child crew/scout worktree: a genuine linked git
139+
# A secondmate home's OWN child crewmate/scout worktree: a genuine linked git
140140
# worktree of the secondmate home, so git-dir != git-common-dir exactly as for a
141141
# main-home child worktree. A child worktree never carries the gitignored
142142
# .fm-secondmate-home marker, so the marker force-include never fires for it and
@@ -424,7 +424,7 @@ test_hook_secondmate_reinvoke_recovery_loop() {
424424
}
425425

426426
# The marker force-include must guard only the secondmate's OWN home, never its
427-
# children: a secondmate's linked crew/scout worktree carries no marker, so it
427+
# children: a secondmate's linked crewmate/scout worktree carries no marker, so it
428428
# stays exempt by the same git-dir/git-common-dir test that exempts the main
429429
# home's children.
430430
test_hook_silent_in_secondmate_child_worktree() {

0 commit comments

Comments
 (0)