|
|
@ -8,7 +8,7 @@ use 5.10.0; |
|
|
|
use lib 'lib'; |
|
|
|
|
|
|
|
use Encode; |
|
|
|
use Test::More tests => 2; |
|
|
|
use Test::More tests => 3; |
|
|
|
use App::WRT::Mock::FileIO; |
|
|
|
|
|
|
|
chdir 'example'; |
|
|
@ -25,6 +25,11 @@ my @local_argv = (); |
|
|
|
main($output, $mock_io, @local_argv); |
|
|
|
|
|
|
|
ok( |
|
|
|
$output_string =~ 'rendered 22 entries', |
|
|
|
$output_string =~ 'rendered 23 entries', |
|
|
|
'rendered expected number of entries' |
|
|
|
) or diag($output_string); |
|
|
|
|
|
|
|
ok( |
|
|
|
$output_string =~ 'seconds', |
|
|
|
'log mentions seconds' |
|
|
|
) or diag($output_string); |