You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5c49f1b
Browse filesBrowse the repository at this point in the historyBrowse files
// Anti-vacuous-green (#6983): an extraction that stops matching yields
@@ -2102,13 +2101,13 @@ function selfTest() {
2102
2101
constdistinct=newSet(literals.values());
2103
2102
assert(
2104
2103
distinct.size===1,
2105
-
`family: all four changeset frontmatter parsers must use a byte-identical entry regex — found ${distinct.size} distinct spellings: ${JSON.stringify([...literals])}`,
2104
+
`family: every changeset frontmatter parser in the family must use a byte-identical entry regex — found ${distinct.size} distinct spellings: ${JSON.stringify([...literals])}`,
2106
2105
);
2107
2106
// And the shared spelling must actually be the comment-aware one, so this
2108
2107
// block cannot go green on four identically-STALE copies.
2109
2108
assert(
2110
2109
[...distinct][0]?.includes('(?:\\s+#.*)?'),
2111
-
'family: the shared entry regex must carry the `(?:\\s+#.*)?` trailing-comment arm — four identical copies of the OLD anchor would satisfy the agreement check above while re-opening #7004',
2110
+
'family: the shared entry regex must carry the `(?:\\s+#.*)?` trailing-comment arm — identical copies of the OLD anchor would satisfy the agreement check above while re-opening #7004',
`each of them reaches its family through the program-text key, naming the reader (${unkeyed.map(([c, r]) => `${c} <- ${r}`).join(' · ') || 'all keyed'})`,
8473
+
unkeyed.length === 0,
8460
8474
);
8461
8475
8462
8476
// Reconstruction: `entry.reads` is what the scan says over the family's own
0 commit comments