We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d471672 commit a4f6343Copy full SHA for a4f6343
1 file changed
tests/system/Validation/ValidationTest.php
@@ -550,8 +550,8 @@ public function testSplitRegex()
550
{
551
$method = $this->getPrivateMethodInvoker($this->validation, 'splitRules');
552
553
- $result = $method('required|regex_match[/^[0-9]{4}[\-\.\/][0-9]{2}[\-\.\/][0-9]{2}/]|max_length[10]');
+ $result = $method('required|regex_match[/^[0-9]{4}[\-\.\[\/][0-9]{2}[\-\.\[\/][0-9]{2}/]|max_length[10]');
554
555
- $this->assertEquals('regex_match[/^[0-9]{4}[\-\.\/][0-9]{2}[\-\.\/][0-9]{2}/]', $result[1]);
+ $this->assertEquals('regex_match[/^[0-9]{4}[\-\.\[\/][0-9]{2}[\-\.\[\/][0-9]{2}/]', $result[1]);
556
}
557
0 commit comments