aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-07-09 17:12:23 -0400
committerAdam Harrison <adamdharrison@gmail.com>2023-07-09 17:12:23 -0400
commit175d9c2ca8a6f82dcde0c0b19cc299525aa727da (patch)
treeb22a9e0314c191f9ecc9daff77ba8d2ce68cbfc5 /t
parentc8390569f6eceedd71b7090ef52a4f88886bc475 (diff)
downloadlite-xl-plugin-manager-175d9c2ca8a6f82dcde0c0b19cc299525aa727da.tar.gz
lite-xl-plugin-manager-175d9c2ca8a6f82dcde0c0b19cc299525aa727da.zip
Added in executable path to test command.
Diffstat (limited to 't')
-rw-r--r--t/run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/run.lua b/t/run.lua
index 165a976..05b4947 100644
--- a/t/run.lua
+++ b/t/run.lua
@@ -125,7 +125,7 @@ local tests = {
local last_command_result, last_command
lpm = function(cmd)
- last_command = "./lpm --quiet --json --assume-yes --userdir=" .. userdir .. " " .. cmd
+ last_command = arg[0] .. " --quiet --json --assume-yes --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