test: kill in fly hinting event
This commit is contained in:
1 parent
b63ddb8736
commit
417bb5fb14
2 files changed
+49
No files matched your search
@@ -34,4 +34,11 @@ describe("Readerui module", function()
|
||||
readerui:closeDocument()
|
||||
assert(readerui.document == nil)
|
||||
end)
|
||||
it("should not reset running_instance by mistake", function()
|
||||
assert.is.truthy(readerui.document)
|
||||
ReaderUI:new{
|
||||
document = DocumentRegistry:openDocument(sample_epub)
|
||||
}:onClose()
|
||||
assert.is.truthy(readerui.document)
|
||||
end)
|
||||
end)
|
||||
Reference in new issue
Block a user