-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test code lens when umbrella app names have the same prefix. (#759)
- Loading branch information
1 parent
badf5dc
commit 3c8a6e0
Showing
7 changed files
with
126 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
apps/language_server/test/fixtures/umbrella_test_code_lens/apps/app/mix.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
defmodule App.Mixfile do | ||
use Mix.Project | ||
|
||
def project do | ||
[ | ||
app: :app, | ||
version: "0.1.0" | ||
] | ||
end | ||
|
||
def application do | ||
[] | ||
end | ||
end |
7 changes: 7 additions & 0 deletions
7
...nguage_server/test/fixtures/umbrella_test_code_lens/apps/app/test/fixture_custom_test.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
defmodule App.UmbrellaTestCodeLensTest do | ||
use ExUnit.Case | ||
|
||
test "fixture test" do | ||
assert true | ||
end | ||
end |
14 changes: 14 additions & 0 deletions
14
apps/language_server/test/fixtures/umbrella_test_code_lens/apps/app1/mix.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
defmodule App1.Mixfile do | ||
use Mix.Project | ||
|
||
def project do | ||
[ | ||
app: :app1, | ||
version: "0.1.0" | ||
] | ||
end | ||
|
||
def application do | ||
[] | ||
end | ||
end |
7 changes: 7 additions & 0 deletions
7
...guage_server/test/fixtures/umbrella_test_code_lens/apps/app1/test/fixture_custom_test.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
defmodule App1.UmbrellaTestCodeLensTest do | ||
use ExUnit.Case | ||
|
||
test "fixture test" do | ||
assert true | ||
end | ||
end |
7 changes: 7 additions & 0 deletions
7
apps/language_server/test/fixtures/umbrella_test_code_lens/mix.exs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
defmodule UmbrellaTestCodeLens.Mixfile do | ||
use Mix.Project | ||
|
||
def project do | ||
[apps_path: "apps"] | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters