Skip to content

feat: Add error for using with_options in define_enum_for matcher#1693

Merged
matsales28 merged 1 commit intomainfrom
matheussales/add-with-options-as-not-implemented
Jan 23, 2026
Merged

feat: Add error for using with_options in define_enum_for matcher#1693
matsales28 merged 1 commit intomainfrom
matheussales/add-with-options-as-not-implemented

Conversation

@matsales28
Copy link
Member

We're adding an explicit error message when users mistakenly use with_options instead of with_values in the define_enum_for matcher. This will help clarify the correct usage and prevent confusion.

Closes #1654

We're adding an explicit error message when users mistakenly use
with_options instead of with_values in the define_enum_for matcher.
This will help clarify the correct usage and prevent confusion.
@matsales28 matsales28 self-assigned this Jan 23, 2026
@matsales28 matsales28 merged commit 71fa0fc into main Jan 23, 2026
22 checks passed
@matsales28 matsales28 deleted the matheussales/add-with-options-as-not-implemented branch January 23, 2026 18:34
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.

with_options used with define_enum_for

1 participant