# HG changeset patch # User Sergey Kandaurov # Date 1487599306 -10800 # Node ID 9edf2f99c58fc3e08b34687580791a4f241e4da5 # Parent 3d312b6a1a19b82884a03aa1e7d68cefd31efcf9 Tests: fixed has() check for sub filter tests. Previously, this clashed with "subversion" as appeared in the "built by" string. diff --git a/lib/Test/Nginx.pm b/lib/Test/Nginx.pm --- a/lib/Test/Nginx.pm +++ b/lib/Test/Nginx.pm @@ -120,6 +120,7 @@ sub has_module($) { auth_request => '--with-http_auth_request_module', realip => '--with-http_realip_module', + sub => '--with-http_sub_module', charset => '(?s)^(?!.*--without-http_charset_module)', gzip => '(?s)^(?!.*--without-http_gzip_module)', ssi => '(?s)^(?!.*--without-http_ssi_module)',