Add a test that ensures `LinkerWrapper::markAsDiscarded()` does not trigger unbalanced fragment moves
Open
Nobody has claimed this yet.
p4 (nice to have but not planned)
testing
- Dominant language
- C++
- Stars
- 259
- Forks
- 84
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 72
Description
Discarding a section using LinkerWrapper::markAsDiscarded() is a valid use case and should not be treated as an unbalanced fragment move. We should add test for this functionality to make sure that we do not break this behavior by mistake in the future.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the existing tests for LinkerWrapper and checks for unbalanced fragment moves, then start from the markAsDiscarded() behavior described in the issue. Add a regression test showing that discarding a section does not trigger an unbalanced fragment move; done means the test passes without that diagnostic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers, testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100