# HG changeset patch # User Sergey Kandaurov # Date 1373879175 -14400 # Node ID b639e76ba9237339512863a8a393cc98d84b6292 # Parent ad164c14058ad78189d0fdf612cb8194778a5868 Tests: limit_zone regex updated to follow the module renaming. diff --git a/lib/Test/Nginx.pm b/lib/Test/Nginx.pm --- a/lib/Test/Nginx.pm +++ b/lib/Test/Nginx.pm @@ -98,8 +98,8 @@ sub has_module($) { scgi => '(?s)^(?!.*--without-http_scgi_module)', memcached => '(?s)^(?!.*--without-http_memcached_module)', - limit_zone - => '(?s)^(?!.*--without-http_limit_zone_module)', + limit_conn + => '(?s)^(?!.*--without-http_limit_conn_module)', limit_req => '(?s)^(?!.*--without-http_limit_req_module)', empty_gif