Permalink
Browse files

Reformatting test case. Fixes #104

  • Loading branch information...
1 parent bdfb50e commit aa3a197b26c6e40a7cc9ecd3bf70677fc7dc9ebf @markstory markstory committed Dec 16, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −2 cake/tests/cases/libs/set.test.php
@@ -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'))));
}
@@ -1113,7 +1115,6 @@ function testMatches() {
}
-
/**
* testSetExtractReturnsEmptyArray method
*

0 comments on commit aa3a197

Please sign in to comment.