Skip to content

Conversation

@maxatome
Copy link
Collaborator

Both "rearm" the body before (re-)reading it, so they can be used several times in a same matcher (combined with Or & And).

Closes #145.

@maxatome maxatome force-pushed the matcher-rearm-body branch 3 times, most recently from 484a89e to 8447826 Compare July 24, 2023 07:59
Both "rearm" the body before (re-)reading it, so they can be used
several times in a same matcher (combined with Or & And).

At the same time, simplify the body copy and make the "rearming" more
performant.

Closes #145.

Signed-off-by: Maxime Soulé <[email protected]>
@maxatome maxatome force-pushed the matcher-rearm-body branch from 8447826 to 0976caa Compare August 16, 2023 12:57
@maxatome maxatome merged commit 8b32cd6 into v1 Aug 16, 2023
@maxatome maxatome deleted the matcher-rearm-body branch August 16, 2023 12:59
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.

Or() and And() don't work correctly

2 participants