style: no em-dash in test comments

This commit is contained in:
veg 2026-09-21 09:48:23 +00:00
parent 120fed8cb4
commit 521777215d
6 changed files with 21 additions and 21 deletions

View file

@ -3,7 +3,7 @@
# Uninvited-guest semantics. tmux >= 3.3 answers a non-allowlisted
# user's connection with "access not allowed" on stderr and EXIT 0
# (verified live on 3.3a and 3.5a with two real users), for every
# command — including has-session, which then reports any target as
# command, including has-session, which then reports any target as
# existing. Exit-code-based checks therefore misclassified
# "unauthorized" as "authorized": party status reported uninvited
# members as joined, party leave silently "succeeded", and party list
@ -28,7 +28,7 @@ STUB
# Plant a live-looking party dir + roster. Ownership is ours (bats
# can't fake a foreign uid without root), so cmd_status will also see
# this fixture as "hosting" — that's orthogonal to the joined/leave
# this fixture as "hosting": that's orthogonal to the joined/leave
# misreporting under test.
ensure_party_dir "$USER" fiesta
d="$PARTY_SOCKET_DIR/party-$USER:fiesta.d"
@ -88,7 +88,7 @@ STUB
@test "read-only invitee joining active falls back to passive with a notice" {
# tmux refuses new-session from a read-only client ("client is
# read-only", exit 1 — verified 3.3a/3.5a), so an active join for an
# read-only", exit 1, verified 3.3a/3.5a), so an active join for an
# -r invitee died mid-command under set -eu. cmd_join must detect the
# R flag on its own ACL line and attach passive instead. The unquoted
# STUB delimiter is deliberate: $USER expands at write time, \$* at
@ -110,7 +110,7 @@ STUB
@test "read-only invitee (U,R) flag format also falls back to passive" {
# tmux refuses new-session from a read-only client ("client is
# read-only", exit 1 — verified 3.3a/3.5a), so an active join for an
# read-only", exit 1, verified 3.3a/3.5a), so an active join for an
# -r invitee died mid-command under set -eu. cmd_join must detect the
# R flag on its own ACL line and attach passive instead. The unquoted
# STUB delimiter is deliberate: $USER expands at write time, \$* at