diff proxy_cache_variables.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 b2c3d509b2f9
children 2cd00179f4b2
line wrap: on
line diff
--- a/proxy_cache_variables.t
+++ b/proxy_cache_variables.t
@@ -24,7 +24,7 @@ select STDOUT; $| = 1;
 
 plan(skip_all => 'win32') if $^O eq 'MSWin32';
 
-my $t = Test::Nginx->new()->has(qw/http proxy cache/)
+my $t = Test::Nginx->new()->has(qw/http proxy cache/)->plan(9)
 	->write_file_expand('nginx.conf', <<'EOF');
 
 %%TEST_GLOBALS%%
@@ -70,7 +70,7 @@ EOF
 
 $t->write_file('index.html', 'SEE-THIS');
 
-$t->try_run('no proxy_cache with variables')->plan(9);
+$t->run();
 
 ###############################################################################