GitNexus/gitnexus/test
Navid EMAD 5819f73df4
test(zig): absent-grammar case owns GITNEXUS_SKIP_OPTIONAL_GRAMMARS
The loader parses the opt-out variable lazily once per module copy, so
under `GITNEXUS_SKIP_OPTIONAL_GRAMMARS=zig` (or `all`) — a supported way
to run — the fresh loader took the opt-out branch and the "not the
opt-out path" assertion failed before the absent-binding path ran.

Clear the variable for the fresh module and restore it in `finally`,
instead of returning early: the branch stays exercised in every
environment. Verified: fails on the previous code under `=zig`, passes
with and without the variable now.
2026-08-24 19:56:14 +02:00
..
fixtures feat(zig): export fn visibility, opaque containers, named test blocks, member ownership 2026-08-24 19:56:13 +02:00
helpers fix(zig): address third gitnexus-check review pass 2026-08-24 19:56:13 +02:00
integration test(zig): absent-grammar case owns GITNEXUS_SKIP_OPTIONAL_GRAMMARS 2026-08-24 19:56:14 +02:00
unit feat(zig): export fn visibility, opaque containers, named test blocks, member ownership 2026-08-24 19:56:13 +02:00
utils fix(hook): emit MCP query hint when server owns DB lock (#2396) (#2397) 2026-07-08 18:34:05 +01:00