improve coding style : fix indentation and function calls
This commit is contained in:
parent
2d7c588c7d
commit
dcd234b661
@ -100,7 +100,7 @@ class PMA_DBQbe_test extends PHPUnit_Framework_TestCase
|
||||
'_getSortRow',
|
||||
array()
|
||||
)
|
||||
);
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -71,10 +71,12 @@ class PMA_Error_Handler_test extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testHandleError($errno, $errstr, $errfile, $errline, $output)
|
||||
{
|
||||
|
||||
$GLOBALS['cfg']['Error_Handler']['gather'] = true;
|
||||
|
||||
$this->assertEquals( $output, $this->object->handleError($errno, $errstr, $errfile, $errline));
|
||||
$this->assertEquals(
|
||||
$output,
|
||||
$this->object->handleError($errno, $errstr, $errfile, $errline)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -289,7 +289,7 @@ background: -o-linear-gradient(top, #12345, #54321);'
|
||||
{
|
||||
$this->assertEquals(
|
||||
$this->object->getCssCodeMirror(),
|
||||
'span.cm-keyword, span.cm-statement-verb {
|
||||
'span.cm-keyword, span.cm-statement-verb {
|
||||
color: #909;
|
||||
}
|
||||
span.cm-variable {
|
||||
|
||||
@ -272,9 +272,7 @@ class PMA_StorageEngine_innodb_test extends PHPUnit_Framework_TestCase
|
||||
public function testGetPageStatus()
|
||||
{
|
||||
$this->assertEquals(
|
||||
'<pre id="pre_innodb_status">' . "\n"
|
||||
. "\n"
|
||||
. '</pre>' . "\n",
|
||||
'<pre id="pre_innodb_status">' . "\n" . "\n" . '</pre>' . "\n",
|
||||
$this->object->getPageStatus()
|
||||
);
|
||||
|
||||
@ -290,9 +288,7 @@ class PMA_StorageEngine_innodb_test extends PHPUnit_Framework_TestCase
|
||||
);
|
||||
$this->object->support = 2;
|
||||
$this->assertEquals(
|
||||
'<pre id="pre_innodb_status">' . "\n"
|
||||
. "\n"
|
||||
. '</pre>' . "\n",
|
||||
'<pre id="pre_innodb_status">' . "\n" . "\n" . '</pre>' . "\n",
|
||||
$this->object->getPage('Status')
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user