diff --git a/wizard-work/volt/q132_verify.py b/wizard-work/volt/q132_verify.py index 9058033..7d49778 100644 --- a/wizard-work/volt/q132_verify.py +++ b/wizard-work/volt/q132_verify.py @@ -147,6 +147,12 @@ def main(): "rc=%d gate=%r" % (rc_m, mcell)) leg("mutant-doc-drifts", rc_c == 1 and "DRIFT" in out_c, "rc=%d first=%r" % (rc_c, (out_c or err_c).splitlines()[:1])) + # ...and a document rendered AFTER the breakage would have been current + # and leg-less: rc 0 from the same parser, with no gate column at all. + rc_s, out_s, err_s = run([sys.executable, mutant, "--repo", fx, + "--check", mdoc]) + leg("mutant-self-consistent", rc_s == 0 and gate_cell(mtext) == "-", + "rc=%d (a fresh empty render is 'current' to the pre-fix parser)" % rc_s) # -- 3. a LEGS that is not data is named, not rendered as `-` ----------- fx2 = os.path.join(td, "fx2")