summaryrefslogtreecommitdiff
path: root/test/command/auto-require.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/auto-require.lua')
-rw-r--r--test/command/auto-require.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/command/auto-require.lua b/test/command/auto-require.lua
index 9dd19bd2..38cc0012 100644
--- a/test/command/auto-require.lua
+++ b/test/command/auto-require.lua
@@ -3,9 +3,12 @@ local files = require 'files'
local autoRequire = require 'core.command.autoRequire'
local client = require 'client'
-local findInsertRow = util.getUpvalue(autoRequire, 'findInsertRow')
+local findInsertRow = util.getUpvalue(autoRequire, 'findInsertRow')
local applyAutoRequire = util.getUpvalue(autoRequire, 'applyAutoRequire')
+assert(findInsertRow)
+assert(applyAutoRequire)
+
local originEditText = client.editText
local EditResult