Skip to content

Commit

Permalink
test: fix test on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
mhanberg committed Jan 18, 2024
1 parent 2113c61 commit 5007898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/next_ls/autocomplete_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ defmodule NextLS.AutocompleteTest do
assert expand(runtime, ~c"\"#{dir}/dir") == {:yes, [%{name: "dir/", kind: :dir}]}

assert expand(runtime, ~c"\"#{dir}/dir/") ==
{:yes, [%{name: "file3", kind: :file}, %{name: "file4", kind: :file}]}
{:yes, [%{name: "file4", kind: :file}, %{name: "file3", kind: :file}]}

assert expand(runtime, ~c"\"#{dir}/dir/file") == dir |> Path.join("dir") |> path_autocompletion("file")
end
Expand Down

0 comments on commit 5007898

Please sign in to comment.