Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Aug 3, 2023
1 parent 31f5a13 commit b4b1f53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/elixir_sense/definition_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,7 @@ defmodule ElixirSense.Providers.DefinitionTest do
}
end

@tag requires_elixir_1_14: true
test "find definition of local __MODULE__ submodule" do
buffer = """
defmodule MyModule do
Expand Down
2 changes: 2 additions & 0 deletions test/elixir_sense/docs_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ defmodule ElixirSense.DocsTest do
# TODO docs and metadata
end

@tag requires_elixir_1_14: true
test "retrieve local private metadata function documentation on __MODULE__ submodule call" do
buffer = """
defmodule MyLocalModule do
Expand Down Expand Up @@ -582,6 +583,7 @@ defmodule ElixirSense.DocsTest do
# TODO doc and metadata
end

@tag requires_elixir_1_14: true
test "retrieve documentation from metadata modules on __MODULE__ submodule" do
buffer = """
defmodule MyLocalModule do
Expand Down
1 change: 1 addition & 0 deletions test/elixir_sense/references_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1063,6 +1063,7 @@ defmodule ElixirSense.Providers.ReferencesTest do
]
end

@tag requires_elixir_1_14: true
test "find references when module with __MODULE__ special form submodule", %{trace: trace} do
buffer = """
defmodule MyLocalModule do
Expand Down

0 comments on commit b4b1f53

Please sign in to comment.