Skip to content

Commit 03676e2

Browse files
committed
Remove test for unused feature
1 parent 260b53f commit 03676e2

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

lib/mix/test/mix/rebar_test.exs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -216,26 +216,6 @@ defmodule Mix.RebarTest do
216216
end)
217217
end
218218

219-
test "gets and compiles dependencies with build_embedded" do
220-
Mix.ProjectStack.post_config(build_embedded: true)
221-
222-
in_tmp("get and compile dependencies with build_embedded", fn ->
223-
Mix.Project.push(RebarAsDep)
224-
225-
Mix.Tasks.Deps.Get.run([])
226-
assert_received {:mix_shell, :info, ["* Getting git_rebar " <> _]}
227-
228-
Mix.Tasks.Deps.Compile.run([])
229-
assert_received {:mix_shell, :run, ["===> Compiling git_rebar\n"]}
230-
assert_received {:mix_shell, :run, ["===> Compiling rebar_dep\n"]}
231-
assert :git_rebar.any_function() == :ok
232-
assert :rebar_dep.any_function() == :ok
233-
234-
assert File.exists?("_build/dev/lib/git_rebar/ebin/git_rebar.beam")
235-
assert File.exists?("_build/dev/lib/git_rebar/ebin/git_rebar.app")
236-
end)
237-
end
238-
239219
# We run only on Unix because Windows has a hard time
240220
# removing the Rebar executable after executed.
241221
@tag :unix

0 commit comments

Comments
 (0)