aboutsummaryrefslogtreecommitdiff
path: root/t/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 't/run.lua')
-rw-r--r--t/run.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/t/run.lua b/t/run.lua
index 3834db3..9985e40 100644
--- a/t/run.lua
+++ b/t/run.lua
@@ -110,6 +110,16 @@ local tests = {
assert_exists(userdir .. "/plugins/plugin_manager/lpm.x86_64-linux")
assert_exists(userdir .. "/plugins/plugin_manager/lpm.x86_64-windows.exe")
assert_exists(userdir .. "/plugins/plugin_manager/init.lua")
+ end,
+ ["11_dependency_check"] = function()
+ lpm("install lsp")
+ assert_exists(userdir .. "/plugins/lsp")
+ assert_exists(userdir .. "/plugins/lintplus")
+ assert_exists(userdir .. "/plugins/settings.lua")
+ lpm("uninstall lsp")
+ assert_not_exists(userdir .. "/plugins/lsp")
+ assert_not_exists(userdir .. "/plugins/lintplus")
+ assert_not_exists(userdir .. "/plugins/settings.lua")
end
}