mirror of
https://github.com/Ekokumppanit/ystavakylaecard.git
synced 2026-02-15 13:47:38 +00:00
14
tools/test/search_test.php
Normal file
14
tools/test/search_test.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
class Search_test extends Spark_test_case {
|
||||
|
||||
function test_search()
|
||||
{
|
||||
$clines = $this->capture_buffer_lines(function($cli) {
|
||||
$cli->execute('search', array('markdown'));
|
||||
});
|
||||
// Less than ideal, I know
|
||||
$this->assertEquals(array("\033[33mmarkdown\033[0m - A markdown helper for easy parsing of markdown"), $clines);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user