diff --git a/test/next_ls/runtime_test.exs b/test/next_ls/runtime_test.exs index 4834d7de..ddb58d75 100644 --- a/test/next_ls/runtime_test.exs +++ b/test/next_ls/runtime_test.exs @@ -73,9 +73,9 @@ defmodule NextLs.RuntimeTest do ] = Runtime.compile(pid) if Version.match?(System.version(), ">= 1.15.0") do - assert position == {2, 11} + assert position == {4, 11} else - assert position == 2 + assert position == 4 end File.write!(file, """ diff --git a/test/next_ls_test.exs b/test/next_ls_test.exs index f3c70219..25ef6970 100644 --- a/test/next_ls_test.exs +++ b/test/next_ls_test.exs @@ -169,8 +169,8 @@ defmodule NextLSTest do "message" => "variable \"arg1\" is unused (if the variable is not meant to be used, prefix it with an underscore)", "range" => %{ - "start" => %{"line" => 1, "character" => ^char}, - "end" => %{"line" => 1, "character" => 999} + "start" => %{"line" => 3, "character" => ^char}, + "end" => %{"line" => 3, "character" => 999} } } ]