lazymartha#3: an unchanged save keeps the file; the header names the owner #4
Loading…
Reference in a new issue
No description provided.
Delete branch "terra/3-unchanged-save"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose (defect): a
martha configsave that changes nothing leaves the owner's.martha/martha.jsonas it was laid out.internal/layout: the same values hand back the bytes read from--in; a change keeps every key in the file's order (new keys after), two-space indent, no HTML escaping, final newline.owner, not the literalowner.testdata/declaration/martha-init.json: the textmartha initwrites, made with martha'ssoloDeclaration.Local:
go vet ./...andgo test ./...green; 7 mutants (sorted map save, no unchanged shortcut, sorted keys, no newline, HTML escape, literal owner, new-key order) each killed by a named test.Refs #3
Landed by fast-forward: lazymartha main is
50c6663315, this PR's head (PASS r=1 Uranus, CI 6072). The forge shows it closed rather than merged: this repository does not allow the manually-merged style (405), and the branch was removed after landing.Pull request closed