Skip to content
This repository was archived by the owner on Sep 13, 2024. It is now read-only.

Commit ff74efa

Browse files
author
VladimirBerdnik
committed
Add 'sometimes' rule modifier test
1 parent 803a9bb commit ff74efa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/RuleTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ public function testSize()
5454
$this->assertEquals('size:20', Rule::size(20));
5555
}
5656

57+
public function testSometimes()
58+
{
59+
$this->assertEquals('sometimes', Rule::sometimes());
60+
}
61+
5762
/**
5863
* Rule 'in' can accept values as list of parameters or as array
5964
*/

0 commit comments

Comments
 (0)