Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jan 24, 2024
1 parent 03cdbe3 commit f5b9201
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/elixir_sense/core/erlang_html_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -496,16 +496,20 @@ defmodule ElixirSense.Core.ErlangHtmlTest do
describe "seeguide" do
test "system" do
ast =
{:a, [href: "system/design_principles:gen_server_concepts", rel: "https://erlang.org/doc/link/seeguide"],
["some link"]}
{:a,
[
href: "system/design_principles:gen_server_concepts",
rel: "https://erlang.org/doc/link/seeguide"
], ["some link"]}

assert "[some link](https://www.erlang.org/doc/design_principles/gen_server_concepts)" ==
to_markdown(ast)
end

test "system index" do
ast =
{:a, [href: "system/design_principles:index", rel: "https://erlang.org/doc/link/seeguide"],
{:a,
[href: "system/design_principles:index", rel: "https://erlang.org/doc/link/seeguide"],
["some link"]}

assert "[some link](https://www.erlang.org/doc/design_principles/users_guide)" ==
Expand Down

0 comments on commit f5b9201

Please sign in to comment.