Skip to content

Commit ede345f

Browse files
committed
Clean up app start logs
1 parent 80993a4 commit ede345f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/mix/test/mix/tasks/app.start_test.exs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ defmodule Mix.Tasks.App.StartTest do
1313
end
1414
end
1515

16+
@moduletag :capture_log
17+
1618
test "compiles and starts the project" do
1719
in_fixture("no_mixfile", fn ->
1820
Mix.Project.push(AppStartSample)
@@ -42,6 +44,8 @@ defmodule Mix.Tasks.App.StartTest do
4244
assert List.keyfind(Application.started_applications(), :app_start_sample, 0)
4345
assert List.keyfind(Application.started_applications(), :logger, 0)
4446
end)
47+
after
48+
Application.stop(:app_start_sample)
4549
end
4650

4751
describe "unit tests" do

0 commit comments

Comments
 (0)