Skip to content

Commit 01ea92d

Browse files
committed
Merge branch 'main' into feat/unified_options_table
2 parents 1ff83ca + 1cb733b commit 01ea92d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

lua/neotest-vstest/health.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ M.check = function()
44

55
vim.health.info("checking for dependencies...")
66

7-
local has_nio = pcall(require("nio"))
7+
local has_nio = pcall(require, "nio")
88
if not has_nio then
99
vim.health.error("nio is not installed. Please install nio to use neotest-vstest.")
1010
else
1111
vim.health.ok("nio is installed.")
1212
end
1313

14-
local has_neotest = pcall(require("neotest"))
14+
local has_neotest = pcall(require, "neotest")
1515
if not has_neotest then
1616
vim.health.error("neotest is not installed. Please install neotest to use neotest-vstest.")
1717
else

lua/neotest-vstest/vstest/cli_wrapper.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ end
7676
---@return { execute: fun(content: string), stop: fun() }
7777
function M.create_test_runner(project)
7878
local test_discovery_script = get_script("run_tests.fsx")
79-
local testhost_dll = get_vstest_path()
79+
local testhost_dll = M.get_vstest_path()
8080

8181
logger.debug("neotest-vstest: found discovery script: " .. test_discovery_script)
8282
logger.debug("neotest-vstest: found testhost dll: " .. testhost_dll)

scripts/run_tests.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ module TestDiscovery =
239239
do
240240
Console.WriteLine($"spawned test process with pid: {pid}")
241241
use pidWriter = new StreamWriter(pidFile, append = false)
242-
pidWriter.WriteLine(pid)
242+
pidWriter.Write(pid)
243243

244244
while not (cts.Token.IsCancellationRequested || File.Exists(attachedFile)) do
245245
()

0 commit comments

Comments
 (0)