Skip to content

Avoid using String::leak in tests#55

Open
paolobarbolini wants to merge 2 commits intoberkowski:masterfrom
paolobarbolini:tests-dont-leak
Open

Avoid using String::leak in tests#55
paolobarbolini wants to merge 2 commits intoberkowski:masterfrom
paolobarbolini:tests-dont-leak

Conversation

@paolobarbolini
Copy link
Contributor

@paolobarbolini paolobarbolini commented Apr 29, 2025

To be merged AFTER #56

nemecec added a commit to nemecec/mio-serial that referenced this pull request Feb 2, 2026
Replace leaked &'static str with owned String in test fixtures to eliminate memory leaks during test runs.

Inspired by upstream PR berkowski#55.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant