Skip to content

Comments

Add dummy values for RegExp and MapEntry.#834

Merged
srawlins merged 1 commit intomasterfrom
nice-re
Oct 3, 2025
Merged

Add dummy values for RegExp and MapEntry.#834
srawlins merged 1 commit intomasterfrom
nice-re

Conversation

@lrhn
Copy link
Member

@lrhn lrhn commented Oct 3, 2025

Avoids generating mocks for RegExp and MapEntry. Both are value types and shouldn't be mocked.

RegExp will eventually become non-mockable, MapEntry already is.

Avoids generating mocks for `RegExp` and `MapEntry`.
Both are value types and shouldn't be mocked.

`RegExp` will eventually become non-mockable, `MapEntry` already is.
@lrhn lrhn requested a review from srawlins October 3, 2025 14:19
@github-actions
Copy link

github-actions bot commented Oct 3, 2025

Package publishing

Package Version Status Publish tag (post-merge)
package:mockito 5.6.0 ready to publish v5.6.0

Documentation at https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

Copy link
Member

@srawlins srawlins left a comment

Choose a reason for hiding this comment

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

Thanks for all the tidying!

@srawlins srawlins merged commit c6d08f6 into master Oct 3, 2025
8 checks passed
@srawlins srawlins deleted the nice-re branch October 3, 2025 16:14
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.

2 participants