aboutsummaryrefslogtreecommitdiff
path: root/t/run.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-01-11 21:47:54 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-01-11 21:47:54 -0500
commit46bf49a25bd772413576d26e8a80020aaae7c9dd (patch)
treea5f2f1889b62691e98062e19183d3c4faf48b765 /t/run.lua
parentb371dcb9903266bf5ff15d6a97c02f7b1233d878 (diff)
downloadlite-xl-plugin-manager-46bf49a25bd772413576d26e8a80020aaae7c9dd.tar.gz
lite-xl-plugin-manager-46bf49a25bd772413576d26e8a80020aaae7c9dd.zip
Fixed error handling, and fixed plugin difference call.
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 0512d56..ab52c7c 100644
--- a/t/run.lua
+++ b/t/run.lua
@@ -104,6 +104,10 @@ local tests = {
assert(plugins[1].organization == "complex")
assert(plugins[1].status == "installed")
end,
+ ["04_list_plugins"] = function()
+ local plugins = lpm("list")["plugins"]
+ assert(#plugins > 20)
+ end
}