mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Travis: run luacheck on unit tests (#3059)
* Travis: run luacheck on unit tests
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
describe("Cache module", function()
|
||||
local DocumentRegistry, Cache, DEBUG
|
||||
local DocumentRegistry, Cache
|
||||
local doc
|
||||
local max_page = 1
|
||||
setup(function()
|
||||
require("commonrequire")
|
||||
DocumentRegistry = require("document/documentregistry")
|
||||
Cache = require("cache")
|
||||
DEBUG = require("dbg")
|
||||
|
||||
local sample_pdf = "spec/front/unit/data/sample.pdf"
|
||||
doc = DocumentRegistry:openDocument(sample_pdf)
|
||||
|
||||
Reference in New Issue
Block a user