Skip to content

Commit

Permalink
fix the wrong comment for the case: value is not a number
Browse files Browse the repository at this point in the history
  • Loading branch information
xmujay authored and lem9 committed Aug 4, 2013
1 parent 1376143 commit d260060
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/libraries/PMA_server_variables_test.php
Expand Up @@ -117,7 +117,7 @@ public function testPMAFormatVariable()
//Call the test function
$name_for_value_byte = "binlog_cache_size";
$name_for_value_not_byte = "auto_increment_increment";
$name_not_number = "PMA_key";
$name_for_value_not_num = "PMA_key";

$variable_doc_links = PMA_getArrayForDocumentLinks();

Expand All @@ -133,10 +133,10 @@ public function testPMAFormatVariable()
PMA_formatVariable($name_for_value_not_byte, "3", $variable_doc_links)
);

//name is not a number
//value is not a number
$this->assertEquals(
'PMA_value',
PMA_formatVariable($name_not_number, "PMA_value", $variable_doc_links)
'value',
PMA_formatVariable($name_for_value_not_num, "value", $variable_doc_links)
);
}

Expand Down

0 comments on commit d260060

Please sign in to comment.