Skip to content

Fix assertion typo in ReadNamedBitList test#125229

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/fix-assert-equality-typo
Closed

Fix assertion typo in ReadNamedBitList test#125229
Copilot wants to merge 2 commits intomainfrom
copilot/fix-assert-equality-typo

Conversation

Copy link
Contributor

Copilot AI commented Mar 5, 2026

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Assert.Equal(actual, actual) was always true. Changed to
Assert.Equal(allTheBytes, actual) to properly verify the result.

Co-authored-by: vcsjones <361677+vcsjones@users.noreply.github.com>
@vcsjones
Copy link
Member

vcsjones commented Mar 5, 2026

@copilot these changes look good but it is still marked as WIP. Is there anything else to do here?

@vcsjones vcsjones marked this pull request as ready for review March 6, 2026 03:23
Copilot AI review requested due to automatic review settings March 6, 2026 03:23
@vcsjones vcsjones changed the title [WIP] Fix assertion typo in ReadNamedBitList test Fix assertion typo in ReadNamedBitList test Mar 6, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes a typo in the ReadNamedBitList_BitArray_EveryPattern test so it validates the decoded bytes against the expected sequence instead of trivially comparing actual to itself.

Changes:

  • Corrected the assertion to compare allTheBytes (expected) with actual (decoded result).

You can also share your feedback on Copilot code review. Take the survey.

@vcsjones
Copy link
Member

vcsjones commented Mar 6, 2026

Superseded by #125254

@vcsjones vcsjones deleted the copilot/fix-assert-equality-typo branch March 6, 2026 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants