Skip to content

Commit

Permalink
add failling test
Browse files Browse the repository at this point in the history
  • Loading branch information
floranpagliai committed May 21, 2024
1 parent 3f2b3e4 commit 1843720
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Engine/Unit/Segments/SegmentModelsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public function conditionParametersTraitValues()
[SegmentConditions::REGEX, 'foo', '[a-z]+', true],
[SegmentConditions::REGEX, 'FOO', '[a-z]+', false],
[SegmentConditions::REGEX, '1.2.3', '\\d', true],
[SegmentConditions::REGEX, '123', '^\\d*[13579]$', true],
[SegmentConditions::REGEX, '123', '^\d*[13579]$', true],
[SegmentConditions::MODULO, 2, '2|0', true],
[SegmentConditions::MODULO, 2.0, '2|0', true],
[SegmentConditions::MODULO, 2.0, '2.0|0', true],
Expand Down

0 comments on commit 1843720

Please sign in to comment.