@@ -38,14 +38,14 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
3838 Handlers.GotoDefinition . handle ( request , Env . new ( ) )
3939 end
4040
41- defp arrange_referenced_file do
41+ defp get_referenced_file_uri do
4242 "references_referenced.ex"
4343 |> FixtureHelpers . get_path ( )
4444 |> Conversions . ensure_uri ( )
4545 end
4646
4747 test "find definition remote function call" do
48- referenced_uri = arrange_referenced_file ( )
48+ referenced_uri = get_referenced_file_uri ( )
4949 file_path = FixtureHelpers . get_path ( "references_remote.ex" )
5050 { line , char } = { 4 , 28 }
5151
@@ -66,7 +66,7 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
6666 end
6767
6868 test "find definition remote macro call" do
69- referenced_uri = arrange_referenced_file ( )
69+ referenced_uri = get_referenced_file_uri ( )
7070 file_path = FixtureHelpers . get_path ( "references_remote.ex" )
7171 { line , char } = { 8 , 28 }
7272
@@ -87,7 +87,7 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
8787 end
8888
8989 test "find definition imported function call" do
90- referenced_uri = arrange_referenced_file ( )
90+ referenced_uri = get_referenced_file_uri ( )
9191 file_path = FixtureHelpers . get_path ( "references_imported.ex" )
9292 { line , char } = { 4 , 5 }
9393
@@ -108,7 +108,7 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
108108 end
109109
110110 test "find definition imported macro call" do
111- referenced_uri = arrange_referenced_file ( )
111+ referenced_uri = get_referenced_file_uri ( )
112112 file_path = FixtureHelpers . get_path ( "references_imported.ex" )
113113 { line , char } = { 8 , 5 }
114114
@@ -129,7 +129,7 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
129129 end
130130
131131 test "find definition local function call" do
132- referenced_uri = arrange_referenced_file ( )
132+ referenced_uri = get_referenced_file_uri ( )
133133 file_path = FixtureHelpers . get_path ( "references_referenced.ex" )
134134 { line , char } = { 15 , 5 }
135135
@@ -150,7 +150,7 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
150150 end
151151
152152 test "find definition local macro call" do
153- referenced_uri = arrange_referenced_file ( )
153+ referenced_uri = get_referenced_file_uri ( )
154154 file_path = FixtureHelpers . get_path ( "references_referenced.ex" )
155155 { line , char } = { 19 , 5 }
156156
@@ -171,7 +171,7 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
171171 end
172172
173173 test "find definition variable" do
174- referenced_uri = arrange_referenced_file ( )
174+ referenced_uri = get_referenced_file_uri ( )
175175 file_path = FixtureHelpers . get_path ( "references_referenced.ex" )
176176 { line , char } = { 4 , 13 }
177177
@@ -192,7 +192,7 @@ defmodule ElixirLS.Experimental.Provider.Handlers.GotoDefinitionTest do
192192 end
193193
194194 test "find definition attribute" do
195- referenced_uri = arrange_referenced_file ( )
195+ referenced_uri = get_referenced_file_uri ( )
196196 file_path = FixtureHelpers . get_path ( "references_referenced.ex" )
197197 { line , char } = { 27 , 5 }
198198
0 commit comments