aboutsummaryrefslogtreecommitdiff
path: root/t/run.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-01-17 15:10:49 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-01-17 15:10:49 -0500
commit7c17770cf37c4fa928a6c24b72549e018f5871fa (patch)
tree4fb3c927f62a53ac9bad73d66f528cd60ff9a6e0 /t/run.lua
parent3a67f20f0bc737e3efa05b369739326d08093ce8 (diff)
downloadlite-xl-plugin-manager-7c17770cf37c4fa928a6c24b72549e018f5871fa.tar.gz
lite-xl-plugin-manager-7c17770cf37c4fa928a6c24b72549e018f5871fa.zip
Added test, and added in specifier for path.v0.9994
Diffstat (limited to 't/run.lua')
-rw-r--r--t/run.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/run.lua b/t/run.lua
index d774be0..94a13fa 100644
--- a/t/run.lua
+++ b/t/run.lua
@@ -78,6 +78,10 @@ local tests = {
break
end
end
+ local actions = lpm("install encodings")
+ assert_exists(userdir .. "/plugins/encodings.lua")
+ local stat = system.stat(userdir .. "/plugins/encodings.lua")
+ assert(stat.type == "file")
end,
["07_manifest"] = function()
local results = json.decode(io.open("manifest.json", "rb"):read("*all"))