Skip to content

Commit f4c9ffd

Browse files
committed
remove nil config test as it breaks build stability
it accidentally enables dialyzer
1 parent 587f83b commit f4c9ffd

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

apps/language_server/test/server_test.exs

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -111,39 +111,6 @@ defmodule ElixirLS.LanguageServer.ServerTest do
111111
end)
112112
end
113113

114-
test "handles nil configuration", %{
115-
server: server
116-
} do
117-
in_fixture(__DIR__, "clean", fn ->
118-
Server.receive_packet(
119-
server,
120-
initialize_req(1, root_uri(), %{
121-
"workspace" => %{
122-
"configuration" => true
123-
}
124-
})
125-
)
126-
127-
assert_receive(%{"id" => 1, "result" => %{"capabilities" => %{}}}, 1000)
128-
Server.receive_packet(server, notification("initialized"))
129-
uri = root_uri()
130-
131-
assert_receive(
132-
%{
133-
"id" => 1,
134-
"method" => "workspace/configuration",
135-
"params" => %{"items" => [%{"scopeUri" => ^uri, "section" => "elixirLS"}]}
136-
},
137-
1000
138-
)
139-
140-
JsonRpc.receive_packet(response(1, [nil]))
141-
142-
assert :sys.get_state(server).mix_env == "test"
143-
wait_until_compiled(server)
144-
end)
145-
end
146-
147114
test "gets configuration after workspace/didChangeConfiguration notification if client supports it",
148115
%{
149116
server: server

0 commit comments

Comments
 (0)