Skip to content

Conversation

@DarioViva42
Copy link

fixes #1974

Some small additions to also consider.
Maybe add some tests that check if now mixing different type of strings (nottable & optional & ‘normal’) works correctly.

Also what I find kind of strange is that here https://github.com/mock-server/mockserver/blob/master/mockserver-core/src/main/java/org/mockserver/collections/ImmutableEntry.java#L36-L42 isOptional only checks that key is optional. But isNotted not only checks the key but also that the value is not notted. Why the difference?

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.

NottableString not does not work correctly when there are matches.

1 participant