diff --git a/test/next_ls/extensions/elixir_extension/code_action/undefined_function_test.exs b/test/next_ls/extensions/elixir_extension/code_action/undefined_function_test.exs index 26195b0e..4dc3180e 100644 --- a/test/next_ls/extensions/elixir_extension/code_action/undefined_function_test.exs +++ b/test/next_ls/extensions/elixir_extension/code_action/undefined_function_test.exs @@ -144,10 +144,10 @@ defmodule NextLS.ElixirExtension.UndefinedFunctionTest do uri = "file:///home/owner/my_project/hello.ex" - assert [code_action] = UndefinedFunction.new(diagnostic, text, uri) + assert [_, code_action] = UndefinedFunction.new(diagnostic, text, uri) assert %CodeAction{} = code_action assert [diagnostic] == code_action.diagnostics - assert code_action.title == "Create local private function bar/2" + assert code_action.title == "Create private function bar/2" edit_position = %Position{line: 5, character: 0}