Do not open a second window for MooLua/window test
This commit is contained in:
parent
2633f6fc8f
commit
7de91239e7
@ -1,6 +1,7 @@
|
||||
require("munit")
|
||||
|
||||
window = editor.new_window()
|
||||
editor.close_docs(editor.get_docs())
|
||||
window = editor.get_active_window()
|
||||
tassert(#window.get_docs() == 1)
|
||||
tassert(window.get_docs()[1] == window.get_active_doc())
|
||||
editor.new_doc(window)
|
||||
@ -85,5 +86,3 @@ tassert_eq(doc1.get_n_views(), 1)
|
||||
tassert(editor.close_docs({doc1, doc2, doc3}))
|
||||
tassert_eq(window.get_docs(), {doc4})
|
||||
tassert_eq(editor.get_active_doc(), doc4)
|
||||
|
||||
window.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user