Skip to content

Commit 222bcb7

Browse files
committed
fix tests
1 parent 821d542 commit 222bcb7

File tree

2 files changed

+40
-40
lines changed

2 files changed

+40
-40
lines changed

apps/language_server/test/dialyzer_incremental_test.exs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ if System.otp_release() |> String.to_integer() >= 26 do
6464
%{
6565
"message" => error_message1,
6666
"range" => %{
67-
"end" => %{"character" => 2, "line" => 1},
68-
"start" => %{"character" => 2, "line" => 1}
67+
"end" => %{"line" => 1},
68+
"start" => %{"line" => 1}
6969
},
7070
"severity" => 2,
7171
"source" => "ElixirLS Dialyzer"
7272
},
7373
%{
7474
"message" => error_message2,
7575
"range" => %{
76-
"end" => %{"character" => 4, "line" => 2},
77-
"start" => %{"character" => 4, "line" => 2}
76+
"end" => %{"line" => 2},
77+
"start" => %{"line" => 2}
7878
},
7979
"severity" => 2,
8080
"source" => "ElixirLS Dialyzer"
@@ -126,17 +126,17 @@ if System.otp_release() |> String.to_integer() >= 26 do
126126
%{
127127
"message" => error_message1,
128128
"range" => %{
129-
"end" => %{"character" => 2, "line" => 1},
130-
"start" => %{"character" => 2, "line" => 1}
129+
"end" => %{"line" => 1},
130+
"start" => %{"line" => 1}
131131
},
132132
"severity" => 2,
133133
"source" => "ElixirLS Dialyzer"
134134
},
135135
%{
136136
"message" => error_message2,
137137
"range" => %{
138-
"end" => %{"character" => 4, "line" => 2},
139-
"start" => %{"character" => 4, "line" => 2}
138+
"end" => %{"line" => 2},
139+
"start" => %{"line" => 2}
140140
},
141141
"severity" => 2,
142142
"source" => "ElixirLS Dialyzer"
@@ -172,17 +172,17 @@ if System.otp_release() |> String.to_integer() >= 26 do
172172
%{
173173
"message" => error_message1,
174174
"range" => %{
175-
"end" => %{"character" => 2, "line" => 1},
176-
"start" => %{"character" => 2, "line" => 1}
175+
"end" => %{"line" => 1},
176+
"start" => %{"line" => 1}
177177
},
178178
"severity" => 2,
179179
"source" => "ElixirLS Dialyzer"
180180
},
181181
%{
182182
"message" => error_message2,
183183
"range" => %{
184-
"end" => %{"character" => 4, "line" => 2},
185-
"start" => %{"character" => 4, "line" => 2}
184+
"end" => %{"line" => 2},
185+
"start" => %{"line" => 2}
186186
},
187187
"severity" => 2,
188188
"source" => "ElixirLS Dialyzer"
@@ -208,17 +208,17 @@ if System.otp_release() |> String.to_integer() >= 26 do
208208
%{
209209
"message" => error_message1,
210210
"range" => %{
211-
"end" => %{"character" => 2, "line" => 1},
212-
"start" => %{"character" => 2, "line" => 1}
211+
"end" => %{"line" => 1},
212+
"start" => %{"line" => 1}
213213
},
214214
"severity" => 2,
215215
"source" => "ElixirLS Dialyzer"
216216
},
217217
%{
218218
"message" => _error_message2,
219219
"range" => %{
220-
"end" => %{"character" => 4, "line" => 2},
221-
"start" => %{"character" => 4, "line" => 2}
220+
"end" => %{"line" => 2},
221+
"start" => %{"line" => 2}
222222
},
223223
"severity" => 2,
224224
"source" => "ElixirLS Dialyzer"
@@ -245,17 +245,17 @@ if System.otp_release() |> String.to_integer() >= 26 do
245245
%{
246246
"message" => error_message1,
247247
"range" => %{
248-
"end" => %{"character" => 2, "line" => 1},
249-
"start" => %{"character" => 2, "line" => 1}
248+
"end" => %{"line" => 1},
249+
"start" => %{"line" => 1}
250250
},
251251
"severity" => 2,
252252
"source" => "ElixirLS Dialyzer"
253253
},
254254
%{
255255
"message" => error_message2,
256256
"range" => %{
257-
"end" => %{"character" => 4, "line" => 2},
258-
"start" => %{"character" => 4, "line" => 2}
257+
"end" => %{"line" => 2},
258+
"start" => %{"line" => 2}
259259
},
260260
"severity" => 2,
261261
"source" => "ElixirLS Dialyzer"

apps/language_server/test/dialyzer_test.exs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ defmodule ElixirLS.LanguageServer.DialyzerTest do
7373
%{
7474
"message" => error_message1,
7575
"range" => %{
76-
"end" => %{"character" => 2, "line" => 1},
77-
"start" => %{"character" => 2, "line" => 1}
76+
"end" => %{"line" => 1},
77+
"start" => %{"line" => 1}
7878
},
7979
"severity" => 2,
8080
"source" => "ElixirLS Dialyzer"
8181
},
8282
%{
8383
"message" => error_message2,
8484
"range" => %{
85-
"end" => %{"character" => 4, "line" => 2},
86-
"start" => %{"character" => 4, "line" => 2}
85+
"end" => %{"line" => 2},
86+
"start" => %{"line" => 2}
8787
},
8888
"severity" => 2,
8989
"source" => "ElixirLS Dialyzer"
@@ -189,17 +189,17 @@ defmodule ElixirLS.LanguageServer.DialyzerTest do
189189
%{
190190
"message" => error_message1,
191191
"range" => %{
192-
"end" => %{"character" => 2, "line" => 1},
193-
"start" => %{"character" => 2, "line" => 1}
192+
"end" => %{"line" => 1},
193+
"start" => %{"line" => 1}
194194
},
195195
"severity" => 2,
196196
"source" => "ElixirLS Dialyzer"
197197
},
198198
%{
199199
"message" => error_message2,
200200
"range" => %{
201-
"end" => %{"character" => 4, "line" => 2},
202-
"start" => %{"character" => 4, "line" => 2}
201+
"end" => %{"line" => 2},
202+
"start" => %{"line" => 2}
203203
},
204204
"severity" => 2,
205205
"source" => "ElixirLS Dialyzer"
@@ -239,17 +239,17 @@ defmodule ElixirLS.LanguageServer.DialyzerTest do
239239
%{
240240
"message" => error_message1,
241241
"range" => %{
242-
"end" => %{"character" => 2, "line" => 1},
243-
"start" => %{"character" => 2, "line" => 1}
242+
"end" => %{"line" => 1},
243+
"start" => %{"line" => 1}
244244
},
245245
"severity" => 2,
246246
"source" => "ElixirLS Dialyzer"
247247
},
248248
%{
249249
"message" => error_message2,
250250
"range" => %{
251-
"end" => %{"character" => 4, "line" => 2},
252-
"start" => %{"character" => 4, "line" => 2}
251+
"end" => %{"line" => 2},
252+
"start" => %{"line" => 2}
253253
},
254254
"severity" => 2,
255255
"source" => "ElixirLS Dialyzer"
@@ -279,17 +279,17 @@ defmodule ElixirLS.LanguageServer.DialyzerTest do
279279
%{
280280
"message" => error_message1,
281281
"range" => %{
282-
"end" => %{"character" => 2, "line" => 1},
283-
"start" => %{"character" => 2, "line" => 1}
282+
"end" => %{"line" => 1},
283+
"start" => %{"line" => 1}
284284
},
285285
"severity" => 2,
286286
"source" => "ElixirLS Dialyzer"
287287
},
288288
%{
289289
"message" => _error_message2,
290290
"range" => %{
291-
"end" => %{"character" => 4, "line" => 2},
292-
"start" => %{"character" => 4, "line" => 2}
291+
"end" => %{"line" => 2},
292+
"start" => %{"line" => 2}
293293
},
294294
"severity" => 2,
295295
"source" => "ElixirLS Dialyzer"
@@ -320,17 +320,17 @@ defmodule ElixirLS.LanguageServer.DialyzerTest do
320320
%{
321321
"message" => error_message1,
322322
"range" => %{
323-
"end" => %{"character" => 2, "line" => 1},
324-
"start" => %{"character" => 2, "line" => 1}
323+
"end" => %{"line" => 1},
324+
"start" => %{"line" => 1}
325325
},
326326
"severity" => 2,
327327
"source" => "ElixirLS Dialyzer"
328328
},
329329
%{
330330
"message" => error_message2,
331331
"range" => %{
332-
"end" => %{"character" => 4, "line" => 2},
333-
"start" => %{"character" => 4, "line" => 2}
332+
"end" => %{"line" => 2},
333+
"start" => %{"line" => 2}
334334
},
335335
"severity" => 2,
336336
"source" => "ElixirLS Dialyzer"

0 commit comments

Comments
 (0)