knyar / nginx-lua-prometheus

Prometheus metric library for Nginx written in Lua
MIT License
1.46k stars 231 forks source link

run luacheck on tests #86

Closed dolik-rce closed 4 years ago

dolik-rce commented 4 years ago

I have noticed few places in tests where luacheck would complain. So here is a proposal to fix them and to run the check in Travis to prevent this in future.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 93.313% when pulling c4233d4182c4b838ec3b403d63a878ebf46c8114 on dolik-rce:luacheck-tests into d3be4531b8fc4d0040f5afb8752b2723968dfdee on knyar:master.