App-mookview

 view release on metacpan or  search on metacpan

t/01_basic.t  view on Meta::CPAN

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
use FindBin;
 
my $app = App::mookview->new("$FindBin::Bin/../README.md");
isa_ok $app, 'App::mookview';
 
my $path = $app->local_or_share_path([qw/share/]);
ok $path;
 
my $not_found_response = $app->return_404();
ok $not_found_response;
 
my $css_response = $app->return_css('/css/screen.css');
ok $css_response;
 
my $code_block = $app->filter_markdown(<<'EOF');
```
my $foo = Foo->new();
$foo->bar();
```
EOF



( run in 0.229 second using v1.01-cache-2.11-cpan-55f5a4728d2 )