Skip to content

Conversation

@HJC96
Copy link
Contributor

@HJC96 HJC96 commented Oct 20, 2025

Problem

The test had a commented-out Pattern test with TODO note:

// TODO: Pattern doesn't override equals method!

This prevented Pattern from being tested alongside other primitive BSON types.

Changes

  • Removed TODO comment
  • Added Pattern encode/decode test
  • Pattern objects are decoded as BsonRegularExpression, so comparison is done separately

@HJC96 HJC96 requested a review from a team as a code owner October 20, 2025 14:08
@HJC96 HJC96 requested review from vbabanin and removed request for a team October 20, 2025 14:08
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