Skip to content

Commit 1843720

Browse files
committed
add failling test
1 parent 3f2b3e4 commit 1843720

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Engine/Unit/Segments/SegmentModelsTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ public function conditionParametersTraitValues()
7474
[SegmentConditions::REGEX, 'foo', '[a-z]+', true],
7575
[SegmentConditions::REGEX, 'FOO', '[a-z]+', false],
7676
[SegmentConditions::REGEX, '1.2.3', '\\d', true],
77+
[SegmentConditions::REGEX, '123', '^\\d*[13579]$', true],
78+
[SegmentConditions::REGEX, '123', '^\d*[13579]$', true],
7779
[SegmentConditions::MODULO, 2, '2|0', true],
7880
[SegmentConditions::MODULO, 2.0, '2|0', true],
7981
[SegmentConditions::MODULO, 2.0, '2.0|0', true],

0 commit comments

Comments
 (0)