File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ defmodule Mix.Compilers.Test do
32
32
{ matched_test_files , nil , [ ] }
33
33
end
34
34
35
+ Application . ensure_all_started ( :ex_unit )
36
+
35
37
cond do
36
38
test_files == [ ] ->
37
39
# Make sure we run the after_suite callbacks but with no feedback
Original file line number Diff line number Diff line change @@ -411,9 +411,10 @@ defmodule Mix.Tasks.TestTest do
411
411
test "logs test absence for a project with no test paths" do
412
412
in_fixture ( "test_stale" , fn ->
413
413
File . rm_rf! ( "test" )
414
+ assert_run_output ( "There are no tests to run" )
415
+
414
416
File . mkdir_p! ( "test" )
415
417
File . write! ( "test/test_helper.exs" , "ExUnit.start()" )
416
-
417
418
assert_run_output ( "There are no tests to run" )
418
419
end )
419
420
end
You can’t perform that action at this time.
0 commit comments