Skip to content

Commit d5ac1e4

Browse files
authored
Improve test output (#347)
* wip * Fix compile warning * Fix spurious output in the tests * Update changelog * remove note on readme
1 parent fdb8f3b commit d5ac1e4

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ House keeping:
1818
- Fix the link in the README to releases (thanks [RJ Dellecese](https://github.com/rjdellecese)) [#312](https://github.com/elixir-lsp/elixir-ls/pull/312)
1919
- Update the dialyzer section in the readme (thanks [Serenity597](https://github.com/Serenity597)) [#323](https://github.com/elixir-lsp/elixir-ls/pull/323)
2020
- Add vim-lsp to plugin list (thanks [Thanabodee Charoenpiriyakij](https://github.com/wingyplus)) [#340](https://github.com/elixir-lsp/elixir-ls/pull/340)
21+
- Cleanup test output (thanks [Jason Axelson](https://github.com/axelson)) [#347](https://github.com/elixir-lsp/elixir-ls/pull/347)
2122

2223
Note: `MIX_TARGET` support was added in 0.5.0 but wasn't added to the changelog until later:
2324
- Support `MIX_TARGET` so the language server can have target specific contexts, like with Nerves (thanks [Jon Carstens](https://github.com/jjcarstens)) [#299](https://github.com/elixir-lsp/elixir-ls/pull/299)

apps/elixir_ls_debugger/test/debugger_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ defmodule ElixirLS.Debugger.ServerTest do
208208
test "Evaluate expression with attempt to exit debugger process", %{server: server} do
209209
Server.receive_packet(
210210
server,
211-
gen_packet("Process.exit(self)")
211+
gen_packet("Process.exit(self(), :normal)")
212212
)
213213

214214
assert_receive(%{"body" => %{"result" => result}}, 1000)

apps/language_server/lib/language_server/dialyzer.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ defmodule ElixirLS.LanguageServer.Dialyzer do
2525
# Client API
2626

2727
def check_support do
28-
_otp_release = String.to_integer(System.otp_release())
28+
_ = String.to_integer(System.otp_release())
2929
{_compiled_with, _} = System.build_info() |> Map.fetch!(:otp_release) |> Integer.parse()
3030

3131
cond do

0 commit comments

Comments
 (0)