diff upstream_hash.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 4ceb2d12b7d2
children 6cdfd177319b
line wrap: on
line diff
--- a/upstream_hash.t
+++ b/upstream_hash.t
@@ -22,7 +22,7 @@ use Test::Nginx;
 select STDERR; $| = 1;
 select STDOUT; $| = 1;
 
-my $t = Test::Nginx->new()->has(qw/http proxy rewrite upstream_hash/);
+my $t = Test::Nginx->new()->has(qw/http proxy rewrite upstream_hash/)->plan(11);
 
 $t->write_file_expand('nginx.conf', <<'EOF');
 
@@ -150,7 +150,7 @@ http {
 
 EOF
 
-$t->try_run('no upstream hash')->plan(11);
+$t->run();
 
 ###############################################################################