Enable lj-releng tool to lint lua code.
This commit is contained in:
parent
36f7dd2e0b
commit
bafbd4cccf
36 changed files with 213 additions and 93 deletions
|
|
@ -165,6 +165,9 @@ describe("Certificate", function()
|
|||
_G.ngx = _ngx
|
||||
ngx.ctx.cert_configured_for_current_request = nil
|
||||
|
||||
package.loaded["certificate"] = nil
|
||||
certificate = require("certificate")
|
||||
|
||||
set_certificate("hostname", EXAMPLE_CERT, UUID)
|
||||
end)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue