Skip to content

Commit

Permalink
Fix: Use PrefixingGenerator
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 29, 2023
1 parent 668bdfa commit 8eb6d71
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/DataGenerator/Composer/VersionLikeBranchGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ public function __construct()
{
$this->numberGenerator = new Test\DataGenerator\NumberGenerator();
$this->suffixGenerator = new Test\DataGenerator\AffixingGenerator(
new Test\DataGenerator\ValueGenerator(
'.x',
'.X',
new Test\DataGenerator\PrefixingGenerator(
new Test\DataGenerator\ValueGenerator('.'),
new Test\DataGenerator\ValueGenerator(
'x',
'X',
),
),
new Test\DataGenerator\ValueGenerator(
'',
Expand Down

0 comments on commit 8eb6d71

Please sign in to comment.