Skip to content

Commit

Permalink
Refactored test case.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Story <mark@mark-story.com>
  • Loading branch information
Phally authored and markstory committed Dec 2, 2009
1 parent bb92a47 commit 324b479
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions cake/tests/cases/libs/cake_test_case.test.php
Expand Up @@ -175,8 +175,8 @@ function testNumericValuesInExpectationForAssertTags() {

$input = '<p><strong>' . $value . '</strong></p>';
$pattern = array(
'p' => array(),
'strong' => array(),
'<p',
'<strong',
$value,
'/strong',
'/p'
Expand All @@ -185,13 +185,13 @@ function testNumericValuesInExpectationForAssertTags() {

$input = '<p><strong>' . $value . '</strong></p><p><strong>' . $value . '</strong></p>';
$pattern = array(
array('p' => array()),
array('strong' => array()),
'<p',
'<strong',
$value,
'/strong',
'/p',
array('p' => array()),
array('strong' => array()),
'<p',
'<strong',
$value,
'/strong',
'/p',
Expand All @@ -200,13 +200,13 @@ function testNumericValuesInExpectationForAssertTags() {

$input = '<p><strong>' . $value . '</strong></p><p id="' . $value . '"><strong>' . $value . '</strong></p>';
$pattern = array(
array('p' => array()),
array('strong' => array()),
'<p',
'<strong',
$value,
'/strong',
'/p',
array('p' => array('id' => $value)),
array('strong' => array()),
'p' => array('id' => $value),
'<strong',
$value,
'/strong',
'/p',
Expand Down

0 comments on commit 324b479

Please sign in to comment.