Repository navigation
Mutation coverage: FMT-nonScientific - #463
thedavidmeister wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughAdds a memory-formatting regression test. The test formats ChangesDecimal float formatting
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Other Merge Risk: ⚪ Minimal · up to This adds a regression check for Pre-merge checks |
|
Mutation run on
_toNonScientific(src/lib/format/LibFormatDecimalFloat.sol) at 886ca07, mutants M14-M35 (M01-M13 killed in an earlier run). The existing suite killed 21 of 22. The survivor was M34, which drops themstore(cursor, 0)that clears the bytes after the string in its last word. The existing memory checks only hit branches whose copies leave those bytes zero. The new case-15e2goes through the trailing-zero fill, which writes a whole word of ASCII0past the end, so the padding check fails under M34.QA
mstore(cursor, 0)removed -> padding check -> testFormatMemoryNonScientificTrailingZeros🤖 Generated with Claude Code
Summary by CodeRabbit