Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Remove unused Channel test case names#3232

Open
0xcharry wants to merge 1 commit intoop-rs:mainfrom
0xcharry:patch-2
Open

Remove unused Channel test case names#3232
0xcharry wants to merge 1 commit intoop-rs:mainfrom
0xcharry:patch-2

Conversation

@0xcharry
Copy link
Copy Markdown

@0xcharry 0xcharry commented Jan 8, 2026

Drop the unused name field from FrameValidityTestCase, removing dead code and needless string allocations in channel tests. Keep test coverage identical while eliminating #[allow(dead_code)] and unused imports.

@op-will
Copy link
Copy Markdown
Collaborator

op-will commented Jan 9, 2026

These test case names seem very useful, even if not used.

Instead of removing them, is there a way to instead use them such that failures report the specific test case that failed?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants