Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Proposed fix for #1183 - multiple regex within short time might give …
…identical strings (#1187) * Proposed fix for #1183 - creating multiple regex within short time might yield identical stringsr #1183 Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com> * Suggestions from codereview: Added a test to FixtureTests, to verify that #1183 is fixed as suggested here: #1187 (comment) This required making sure that the outcome space of the regex pattern is great enough. Xeger seems to favor shorter strings, and this gave collisions when generating RegularExpressionValidatedType . So minimum length of the pattern in this type was lengthened from 1 to 20. Removed assertion roulette in RegularExpressionGeneratorTests.CreateMultipleWithRegularExpressionRequestReturnsDifferentResults(...) according to suggestion: #1187 (comment) Co-authored-by: Magnus Mikkelsen <mmi@kamstrup.dk> Co-authored-by: Nikos Baxevanis <nikos.baxevanis@gmail.com> Co-authored-by: MagnusMikkelsen <cactus1978@gmail.com>
- Loading branch information
1 parent
0ab5d0f
commit d2fa483
Showing
4 changed files
with
65 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters