Repository navigation
refactor(tests): extract string_memory_bugs.cpp (re-target of #3146) - #3165
Conversation
… of #3131) First extraction in #3131 (string.cpp split, sub-issue of #3127). Moves the smallest section (lines 3898-4271 of original, 'Tests from string_memory_bugs.cpp') into its own file. Content moved (375 LOC): - StringHolder - Capacity off-by-one bugs - StringHolder - hasCapacity checks - StringHolder - Edge cases exposing capacity bugs - StringHolder - Memory safety with incorrect capacity Tests pass: bash test fl_stl_string --cpp (1/1, 0.26s test time, 80s build). string.cpp: 6,468 -> 6,093 LOC string_memory_bugs.cpp (new): 389 LOC Stacked on feat/3130-fixed-point-test-helpers-header (PR #3144) for the sibling-split hook update introduced in #3135. Part of #3131. Meta tracking issue: #3127. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughExtracts the ChangesStringHolder Memory-Bug Test Extraction
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Re-opening of #3146. Part of #3131.
Summary by CodeRabbit