aboutsummaryrefslogtreecommitdiff
path: root/t/run.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-11-08 09:34:06 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-11-08 09:34:06 -0500
commite23c9fd56e8624ba6f24033b1a8d2aaa6074416f (patch)
treef2fd1c4f4ec9a5880ce43da70994ca5a7fe8a05b /t/run.lua
parent7edbdb5c2057a8d3786cc9e3e73f62c4b6858a6d (diff)
downloadlite-xl-plugin-manager-e23c9fd56e8624ba6f24033b1a8d2aaa6074416f.tar.gz
lite-xl-plugin-manager-e23c9fd56e8624ba6f24033b1a8d2aaa6074416f.zip
Fixed up tests.
Diffstat (limited to 't/run.lua')
-rw-r--r--t/run.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/t/run.lua b/t/run.lua
index 4c9b699..302bae9 100644
--- a/t/run.lua
+++ b/t/run.lua
@@ -123,12 +123,15 @@ local tests = {
lpm("install lsp --mask lintplus")
assert_exists(userdir .. "/plugins/lsp")
assert_not_exists(userdir .. "/plugins/lintplus")
+ end,
+ ["13_repos"] = function()
+ lpm("repo add https://github.com/jgmdev/lite-xl-threads.git")
end
}
local last_command_result, last_command
lpm = function(cmd)
- last_command = arg[0] .. " --quiet --json --assume-yes --userdir=" .. userdir .. " " .. cmd
+ last_command = arg[0] .. " --quiet --json --assume-yes --mod-version=3 --userdir=" .. userdir .. " " .. cmd
local pipe = io.popen(last_command, "r")
local result = pipe:read("*all")
last_command_result = result ~= "" and json.decode(result) or nil