Skip to content

GeneratorTest: make a particular test more stable - #853

Merged
jrfnl merged 1 commit into
masterfrom
feature/generatortest-stabilize
Mar 3, 2025
Merged

jrfnl merged 1 commit into
masterfrom
feature/generatortest-stabilize

Conversation

@jrfnl

@jrfnl jrfnl commented Mar 3, 2025

Copy link
Copy Markdown
Member

Description

The testGeneratorWillShowEachStandardSeparately() test uses a regex to verify the output, but that regex used the s modifier (. matches new lines), which made it less stable.

This commit makes some adjustments to the regex to get rid of the s modifier, which should make the test more stable.

Suggested changelog entry

N/A

Related issues/external references

Unblocks PR #842

The `testGeneratorWillShowEachStandardSeparately()` test uses a regex to verify the output, but that regex used the `s` modifier (`.` matches new lines), which made it less stable.

This commit makes some adjustments to the regex to get rid of the `s` modifier, which should make the test more stable.
@jrfnl jrfnl added this to the 3.12.0 milestone Mar 3, 2025
@jrfnl
jrfnl merged commit 8a74eb6 into master Mar 3, 2025
@jrfnl
jrfnl deleted the feature/generatortest-stabilize branch March 3, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant