Permalink
Browse files

fixed the test plan in the error.t test files.

  • Loading branch information...
1 parent a9df664 commit 74682b1614c431af2f59768d29113aeb9fa33c4e @agentzh agentzh committed Jun 5, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 t/charset/errors.t
  2. +1 −1 t/errors.t
View
2 t/charset/errors.t
@@ -5,7 +5,7 @@ use Test::Nginx::Socket;
repeat_each(2);
-plan tests => repeat_each() * blocks() + 4;
+plan tests => repeat_each() * (blocks() + 2);
$ENV{TEST_NGINX_MYSQL_PORT} ||= 3306;
$ENV{TEST_NGINX_MYSQL_HOST} ||= '127.0.0.1';
View
2 t/errors.t
@@ -5,7 +5,7 @@ use Test::Nginx::Socket;
repeat_each(2);
-plan tests => repeat_each() * blocks() + 2;
+plan tests => repeat_each() * (blocks() + 1);
$ENV{TEST_NGINX_MYSQL_PORT} ||= 3306;
$ENV{TEST_NGINX_MYSQL_HOST} ||= '127.0.0.1';

0 comments on commit 74682b1

Please sign in to comment.