Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
NJichev committed Mar 8, 2024
1 parent 59e780e commit 74333f1
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions test/next_ls/alias_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,20 @@ defmodule NextLS.PipeTest do
}
}

expected_edit = """
defmodule Foo do
alias Foo.Bar
def to_list() do
Bar.to_list(Map.new())
end
def to_map() do
Bar.to_map(List.new())
expected_edit =
String.trim("""
defmodule Foo do
alias Foo.Bar
def to_list() do
Bar.to_list(Map.new())
end
def to_map() do
Bar.to_map(List.new())
end
end
end
"""
|> String.trim()
""")

assert_request(client, "workspace/applyEdit", 500, fn params ->
assert %{"edit" => edit, "label" => "Pipe"} = params
Expand Down

0 comments on commit 74333f1

Please sign in to comment.