diff autoindex_format.t @ 568:907e89fba9c3

Tests: removed TODO and try_run() checks for legacy versions.
author Sergey Kandaurov <pluknet@nginx.com>
date Sun, 03 May 2015 12:45:09 +0300
parents 7fa91726cc7d
children 2cd00179f4b2
line wrap: on
line diff
--- a/autoindex_format.t
+++ b/autoindex_format.t
@@ -25,7 +25,7 @@ select STDOUT; $| = 1;
 
 plan(skip_all => 'no symlinks on win32') if $^O eq 'MSWin32';
 
-my $t = Test::Nginx->new()->has(qw/http autoindex/)
+my $t = Test::Nginx->new()->has(qw/http autoindex/)->plan(37)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
@@ -77,7 +77,7 @@ mkdir($d . '/utf8');
 $t->write_file('utf8/test-utf8-' . ("\xd1\x84" x 3), '');
 $t->write_file('utf8/test-utf8-' . ("\xd1\x84" x 45), '');
 
-$t->try_run('no autoindex_format')->plan(37);
+$t->run();
 
 ###############################################################################