private/refactoring-result.rkt is at 59.9% coverage (69 missed lines), the worst ratio of any core module, yet almost everything untested in it is pure code. refactoring-result-map-commits has zero coverage, and so do refactoring-result-original-code and refactoring-result-new-code. No git or filesystem setup needed: construct a couple of refactoring results, call the functions, and assert on the resulting commits and code snippets.
Part of #680.
private/refactoring-result.rktis at 59.9% coverage (69 missed lines), the worst ratio of any core module, yet almost everything untested in it is pure code.refactoring-result-map-commitshas zero coverage, and so dorefactoring-result-original-codeandrefactoring-result-new-code. No git or filesystem setup needed: construct a couple of refactoring results, call the functions, and assert on the resulting commits and code snippets.Part of #680.