Skip to content

Commit ffe144e

Browse files
committed
fix test on windows
1 parent e815a3c commit ffe144e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

apps/elixir_ls_debugger/test/variables_test.exs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,12 @@ defmodule ElixirLS.Debugger.VariablesTest do
192192

193193
test "port" do
194194
children = Variables.children(hd(:erlang.ports()), 0, 10)
195-
assert children[:name] == 'forker'
195+
case os_type() do
196+
{:win32, _} ->
197+
assert children[:name] == '2/2'
198+
_ ->
199+
assert children[:name] == 'forker'
200+
end
196201
end
197202
end
198203
end

0 commit comments

Comments
 (0)