Improved doc comment for greater clarity regarding attribute matching

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7971 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
the_undefined 2009-01-05 16:15:10 +00:00
parent 0751251181
commit 186a87b514

View file

@ -460,7 +460,7 @@ class CakeTestCase extends UnitTestCase {
/**
* Takes an array $expected and generates a regex from it to match the provided $string. Samples for $expected:
*
* Checks for an input tag with a name attribute (contains any value) and an id attribute that contains 'my-input':
* Checks for an input tag with a name attribute (contains any non-empty value) and an id attribute that contains 'my-input':
* array('input' => array('name', 'id' => 'my-input'))
*
* Checks for two p elements with some text in them: