This commit is contained in:
@@ -43,7 +43,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -159,7 +159,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -272,7 +272,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -358,7 +358,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -499,7 +499,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -576,7 +576,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -655,7 +655,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -750,7 +750,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -831,7 +831,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
local build_specs = {}
|
||||
@@ -929,7 +929,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -1031,7 +1031,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestA" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestA" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -1151,7 +1151,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestB" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestB" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -1256,7 +1256,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestC" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestC" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
@@ -1369,7 +1369,7 @@ describe("test-samurai core (no bundled runners)", function()
|
||||
end
|
||||
|
||||
function runner.find_nearest(bufnr, _row, _col)
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.loop.cwd(), test_name = "TestJump" }
|
||||
return { file = vim.api.nvim_buf_get_name(bufnr), cwd = vim.uv.cwd(), test_name = "TestJump" }
|
||||
end
|
||||
|
||||
function runner.build_command(spec)
|
||||
|
||||
Reference in New Issue
Block a user