File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 7676--- @return { execute : fun ( content : string ), stop : fun () }
7777function 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 )
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments