Skip to content

Commit 5e4f4cc

Browse files
committed
check nil
1 parent d97a214 commit 5e4f4cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/command/auto-require.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ local client = require 'client'
66
local findInsertRow = util.getUpvalue(autoRequire, 'findInsertRow')
77
local applyAutoRequire = util.getUpvalue(autoRequire, 'applyAutoRequire')
88

9+
assert(findInsertRow)
10+
assert(applyAutoRequire)
11+
912
local originEditText = client.editText
1013
local EditResult
1114

0 commit comments

Comments
 (0)