Skip to content

Commit c5067bc

Browse files
committed
Fix running the whole suite with mix test
Closes #37 #39
1 parent 3117ca5 commit c5067bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/neotest-elixir/core.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ local function test_target(position, relative_to)
8787
if position.type == "test" then
8888
local line = position.range[1] + 1
8989
return { relative_path .. ":" .. line }
90+
elseif relative_path == "." then
91+
return {}
9092
else
9193
return { relative_path }
9294
end

0 commit comments

Comments
 (0)