 
   @tag apps: [:exit_sample]
   test "start points to report on exit", context do
-    Mix.Project.push ExitSample
+    Mix.Project.push(ExitSample)
+
     in_tmp context.test, fn ->
       Process.put(:application_definition, mod: {ExitApp, :bye})
-      Mix.Tasks.Compile.run []
-
-      message = "Could not start application exit_sample: exited in: " <>
-                "Mix.Tasks.App.StartTest.ExitApp.start(:normal, :bye)\n" <>
-                "    ** (EXIT) :bye"
+      Mix.Tasks.Compile.run([])
+
+      message =
+        "Could not start application exit_sample: exited in: " <>
+          "Mix.Tasks.App.StartTest.ExitApp.start(:normal, :bye)\n" <> "    ** (EXIT) :bye"
 
       assert_raise Mix.Error, message, fn ->
         Mix.Tasks.App.Start.start([app: :exit_sample], [])

  end

  test "allows type to be configured" do
    assert Mix.Tasks.App.Start.type([], [permanent: true]) == :permanent
    assert Mix.Tasks.App.Start.type([], [temporary: true]) == :temporary
    assert Mix.Tasks.App.Start.type([start_permanent: true], []) == :permanent
    assert Mix.Tasks.App.Start.type([], []) == :temporary
  end

Code.require_file("../../test_helper.exs", __DIR__)

defmodule Mix.Tasks.App.StartTest do
  use MixTest.Case
