Skip to content

Commit

Permalink
Reformatting test case. Fixes #104
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Dec 16, 2009
1 parent bdfb50e commit aa3a197
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cake/tests/cases/libs/set.test.php
Expand Up @@ -1037,7 +1037,9 @@ function testExtractWithArrays() {
$data = array(
'Level1' => array(
'Level2' => array('test1', 'test2'),
'Level2bis' => array('test3', 'test4')));
'Level2bis' => array('test3', 'test4')
)
);
$this->assertEqual(Set::extract('/Level1/Level2', $data), array(array('Level2' => array('test1', 'test2'))));
$this->assertEqual(Set::extract('/Level1/Level2bis', $data), array(array('Level2bis' => array('test3', 'test4'))));
}
Expand Down Expand Up @@ -1113,7 +1115,6 @@ function testMatches() {


}

/**
* testSetExtractReturnsEmptyArray method
*
Expand Down

0 comments on commit aa3a197

Please sign in to comment.