diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-24 22:51:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-24 22:51:29 +0800 |
commit | 5e4f4cc5fa6535b665634f9a06eedfec56fd9621 (patch) | |
tree | 84ef3acc1e54e8ecf1576c9888fd7a760740bc85 /test/command/auto-require.lua | |
parent | d97a214819c9eba27bf3d836888e4cb315bd5d23 (diff) | |
download | lua-language-server-5e4f4cc5fa6535b665634f9a06eedfec56fd9621.zip |
check nil
Diffstat (limited to 'test/command/auto-require.lua')
-rw-r--r-- | test/command/auto-require.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/command/auto-require.lua b/test/command/auto-require.lua index 9a25882c..38cc0012 100644 --- a/test/command/auto-require.lua +++ b/test/command/auto-require.lua @@ -6,6 +6,9 @@ local client = require 'client' local findInsertRow = util.getUpvalue(autoRequire, 'findInsertRow') local applyAutoRequire = util.getUpvalue(autoRequire, 'applyAutoRequire') +assert(findInsertRow) +assert(applyAutoRequire) + local originEditText = client.editText local EditResult |