From 46bf49a25bd772413576d26e8a80020aaae7c9dd Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Wed, 11 Jan 2023 21:47:54 -0500 Subject: Fixed error handling, and fixed plugin difference call. --- t/run.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 't') 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 } -- cgit v1.2.3