openresty / test-nginx

Data-driven test scaffold for Nginx C module and OpenResty Lua library development
http://search.cpan.org/dist/Test-Nginx
441 stars 106 forks source link

bugfix: remove duplicate `cleanup` function call #82

Open hongliang5316 opened 6 years ago

hongliang5316 commented 6 years ago

Hello: run_tests function alaways call cleanup() https://github.com/openresty/test-nginx/blob/master/lib/Test/Nginx/Util.pm#L721 But END call cleanup() twice https://github.com/openresty/test-nginx/blob/master/lib/Test/Nginx/Util.pm#L2476. Signed-off-by: hongliang 513918845@qq.com