aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-03-01 12:52:11 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-03-01 12:52:11 -0500
commit134c144ab7deceafa14eed60722ae3604917ea92 (patch)
tree46a40f44c4087ed3620e6e279aa7f877deb03f79
parent35fb42b01f8e8db73e387cf47c82a6187c6fb948 (diff)
downloadlite-xl-plugin-manager-134c144ab7deceafa14eed60722ae3604917ea92.tar.gz
lite-xl-plugin-manager-134c144ab7deceafa14eed60722ae3604917ea92.zip
Fixed tests.
-rw-r--r--t/run.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/t/run.lua b/t/run.lua
index a58bb12..32b2266 100644
--- a/t/run.lua
+++ b/t/run.lua
@@ -61,6 +61,7 @@ local tests = {
["04_list_plugins"] = function()
local plugins = lpm("list")["addons"]
assert(#plugins > 20)
+ lpm("list --status core")
end,
["05_install_url"] = function()
local plugins = lpm("list eofnewline")["addons"]
@@ -115,17 +116,14 @@ local tests = {
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,
["12_masking"] = function()
- lpm("install lsp --mask settings")
+ lpm("install lsp --mask lintplus")
assert_exists(userdir .. "/plugins/lsp")
- assert_exists(userdir .. "/plugins/lintplus")
- assert_not_exists(userdir .. "/plugins/settings.lua")
+ assert_not_exists(userdir .. "/plugins/lintplus")
end
}