Skip to content

Commit

Permalink
Use the right constants
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Apr 17, 2012
1 parent 2079f5c commit 76865c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/colors.phpt
Expand Up @@ -12,7 +12,7 @@ if (file_exists(dirname(__FILE__) . '/../Table2.php')) {
}
require_once 'Console/Color.php';

$table = new Console_Table2(CONSOLE_TABLE_ALIGN_LEFT, CONSOLE_TABLE_BORDER_ASCII, 1, null, true);
$table = new Console_Table2(Console_Table2::ALIGN_LEFT, Console_Table2::BORDER_ASCII, 1, null, true);
$table->setHeaders(array('foo', 'bar'));
$table->addRow(array('baz', Console_Color::convert("%bblue%n")));

Expand Down
2 changes: 1 addition & 1 deletion tests/filters.phpt
Expand Up @@ -12,7 +12,7 @@ if (file_exists(dirname(__FILE__) . '/../Table2.php')) {
$data = array(
array('one', 'two'),
array('three', 'four'),
CONSOLE_TABLE_HORIZONTAL_RULE,
Console_Table2::HORIZONTAL_RULE,
array('five', 'six'),
array('seven', 'eight'),
);
Expand Down

0 comments on commit 76865c0

Please sign in to comment.