Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 10582 |
lgm |
1 |
<?php
|
|
|
2 |
|
|
|
3 |
class Search_test extends Spark_test_case {
|
|
|
4 |
|
|
|
5 |
function test_search()
|
|
|
6 |
{
|
|
|
7 |
$clines = $this->capture_buffer_lines(function($cli) {
|
|
|
8 |
$cli->execute('search', array('markdown'));
|
|
|
9 |
});
|
|
|
10 |
// Less than ideal, I know
|
|
|
11 |
$this->assertEquals(array("\033[33mmarkdown\033[0m - A markdown helper for easy parsing of markdown"), $clines);
|
|
|
12 |
}
|
|
|
13 |
|
|
|
14 |
}
|