File tree Expand file tree Collapse file tree 1 file changed +0
-33
lines changed
apps/language_server/test Expand file tree Collapse file tree 1 file changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -111,39 +111,6 @@ defmodule ElixirLS.LanguageServer.ServerTest do
111
111
end )
112
112
end
113
113
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
-
147
114
test "gets configuration after workspace/didChangeConfiguration notification if client supports it" ,
148
115
% {
149
116
server: server
You can’t perform that action at this time.
0 commit comments