From 134c144ab7deceafa14eed60722ae3604917ea92 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Fri, 1 Mar 2024 12:52:11 -0500 Subject: Fixed tests. --- t/run.lua | 8 +++----- 1 file 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 } -- cgit v1.2.3