test: banner purge + WHY-only comment sweep (rule 8)
Every section banner dies (103 -> 0) across test/lang, the observer suites, the C carriers, and the five comment-heavy corpus fixtures; banner provenance (#N cites, carrier numbers, repair-cluster labels) folded into headers or adjacent WHY comments. Narration deleted; row provenance, ref cites, divergence pins, and layout contracts kept (fwd-ref decl-order guards and bootstrap-gate corpus rationale restored where the sweep over-cut). Comment-only proven: all 3742 wwbuild workdir .s byte-identical before/after; test-commit and test-byteid (161 lang + 1399 data, 0 pinned-divergent) green.
This commit is contained in:
@@ -30,42 +30,36 @@ fn ner_const(p: str) bool = { return p != csep; };
|
||||
fn eql_const(p: str) bool = { return csep == p; };
|
||||
fn eql_long(p: str) bool = { return longsep == p; };
|
||||
|
||||
// Shape 1 — rhs const-global ==.
|
||||
@test fn rhs_const_eq() void = {
|
||||
assert(eqr_const("/") == true);
|
||||
assert(eqr_const("foo") == false);
|
||||
assert(eqr_const("/usr") == false);
|
||||
};
|
||||
|
||||
// Shape 2 — rhs let-global ==.
|
||||
@test fn rhs_let_eq() void = {
|
||||
assert(eqr_let("/") == true);
|
||||
assert(eqr_let("foo") == false);
|
||||
assert(eqr_let("/usr") == false);
|
||||
};
|
||||
|
||||
// Shape 3 — lhs const-global ==.
|
||||
@test fn lhs_const_eq() void = {
|
||||
assert(eql_const("/") == true);
|
||||
assert(eql_const("foo") == false);
|
||||
assert(eql_const("/usr") == false);
|
||||
};
|
||||
|
||||
// Shape 4 — rhs const-global != (negation arm).
|
||||
@test fn rhs_const_ne() void = {
|
||||
assert(ner_const("/") == false);
|
||||
assert(ner_const("foo") == true);
|
||||
assert(ner_const("/usr") == true);
|
||||
};
|
||||
|
||||
// Shape 5 — rhs len>1 const-global == (LEN word read off name(SB)).
|
||||
@test fn rhs_long_eq() void = {
|
||||
assert(eqr_long("/") == false);
|
||||
assert(eqr_long("foo") == false);
|
||||
assert(eqr_long("/usr") == true);
|
||||
};
|
||||
|
||||
// Shape 6 — lhs len>1 const-global == (LEN word, lhs sub-site).
|
||||
@test fn lhs_long_eq() void = {
|
||||
assert(eql_long("/") == false);
|
||||
assert(eql_long("foo") == false);
|
||||
|
||||
Reference in New Issue
Block a user