From dd7501ee48afa714b270c8713e937cd94224a48c Mon Sep 17 00:00:00 2001 From: Jon Parise Date: Tue, 6 Nov 2018 14:00:06 -0800 Subject: [PATCH] Remove test/command_callback/mix_paths/ All of the other tests were already using equivalent fixtures under test/command_callback/elixir_paths/, so let's use that path everywhere. --- .../elixir_paths/mix_project/lib/{foo.ex => app.ex} | 0 test/command_callback/mix_paths/wrapped_project/mix.exs | 1 - test/command_callback/test_elixir_mix_command_callbacks.vader | 4 ++-- 3 files changed, 2 insertions(+), 3 deletions(-) rename test/command_callback/elixir_paths/mix_project/lib/{foo.ex => app.ex} (100%) delete mode 100644 test/command_callback/mix_paths/wrapped_project/mix.exs diff --git a/test/command_callback/elixir_paths/mix_project/lib/foo.ex b/test/command_callback/elixir_paths/mix_project/lib/app.ex similarity index 100% rename from test/command_callback/elixir_paths/mix_project/lib/foo.ex rename to test/command_callback/elixir_paths/mix_project/lib/app.ex diff --git a/test/command_callback/mix_paths/wrapped_project/mix.exs b/test/command_callback/mix_paths/wrapped_project/mix.exs deleted file mode 100644 index d2d855e6..00000000 --- a/test/command_callback/mix_paths/wrapped_project/mix.exs +++ /dev/null @@ -1 +0,0 @@ -use Mix.Config diff --git a/test/command_callback/test_elixir_mix_command_callbacks.vader b/test/command_callback/test_elixir_mix_command_callbacks.vader index ec7b9911..b0d0af98 100644 --- a/test/command_callback/test_elixir_mix_command_callbacks.vader +++ b/test/command_callback/test_elixir_mix_command_callbacks.vader @@ -11,10 +11,10 @@ After: call ale#assert#TearDownLinterTest() Execute(The default mix command should be correct): - call ale#test#SetFilename('mix_paths/wrapped_project/lib/app.ex') + call ale#test#SetFilename('elixir_paths/mix_project/lib/app.ex') AssertLinter 'mix', - \ ale#path#CdString(ale#path#Simplify(g:dir . '/mix_paths/wrapped_project')) + \ ale#path#CdString(ale#path#Simplify(g:dir . '/elixir_paths/mix_project')) \ . g:env_prefix \ . 'mix compile %s'