diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-03-01 12:52:11 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-03-01 12:52:11 -0500 |
commit | 134c144ab7deceafa14eed60722ae3604917ea92 (patch) | |
tree | 46a40f44c4087ed3620e6e279aa7f877deb03f79 /t | |
parent | 35fb42b01f8e8db73e387cf47c82a6187c6fb948 (diff) | |
download | lite-xl-plugin-manager-134c144ab7deceafa14eed60722ae3604917ea92.tar.gz lite-xl-plugin-manager-134c144ab7deceafa14eed60722ae3604917ea92.zip |
Fixed tests.
Diffstat (limited to 't')
-rw-r--r-- | t/run.lua | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 } |