Skip to content

Commit

Permalink
stylua fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Pineappletooth committed Dec 19, 2023
1 parent 48c60b1 commit 7e05584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/neotest-jest/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,10 @@ local function parsed_json_to_results(data, output_file, consoleOut)

for _, testResult in pairs(data.testResults) do
local testFn = testResult.name
if vim.loop.os_uname().sysname:find('Windows') == 1 then
if vim.loop.os_uname().sysname:find("Windows") == 1 then
-- Transforms C:\\path\file into c:\\path\file to match original testId
if string.match(testFn, "^%a:\\") then
local drive = testFn:sub(1,1)
local drive = testFn:sub(1, 1)
local restOfPath = testFn:sub(2)
testFn = drive:lower() .. restOfPath
end
Expand Down

0 comments on commit 7e05584

Please sign in to comment.