       # so the message appears just once
       refute_received {:mix_shell, :info, [^message]}
 
-      Mix.Task.clear
-      Mix.Tasks.Deps.Update.run ["--all"]
+      Mix.Task.clear()
+      Mix.Tasks.Deps.Update.run(["--all"])
 
       message = "* Updating git_repo (#{fixture_path("git_repo")})"
       assert_received {:mix_shell, :info, [^message]}
     end
   after
-    purge [GitRepo, GitRepo.MixProject]
+    purge([GitRepo, GitRepo.MixProject])
   end
 
   test "converged dependencies errors if not overriding" do
-    Mix.Project.push NonOverriddenDepsApp
+    Mix.Project.push(NonOverriddenDepsApp)
 
     in_fixture "deps_status", fn ->
       assert_raise Mix.Error, fn ->
-        Mix.Tasks.Deps.Loadpaths.run []
+        Mix.Tasks.Deps.Loadpaths.run([])
       end
 
       receive do
         {:mix_shell, :error, ["  the dependency git_repo in mix.exs" <> _ = msg]} ->
           assert msg =~ "In mix.exs:"
-          assert msg =~ "{:git_repo, \"0.1.0\", [env: :prod, git: #{inspect fixture_path("git_repo")}]}"
+
+          assert msg =~
+                   "{:git_repo, \"0.1.0\", [env: :prod, git: #{inspect(fixture_path("git_repo"))}]}"
       after
-        0 -> flunk "expected overriding error message"
+        0 -> flunk("expected overriding error message")
       end
     end
   after
-    purge [GitRepo, GitRepo.MixProject]
+    purge([GitRepo, GitRepo.MixProject])
   end
 
   test "checks if dependencies are using old Elixir version" do
-    Mix.Project.push SuccessfulDepsApp
-
-    in_fixture "deps_status", fn ->
-      Mix.Tasks.Deps.Compile.run []
-      Mix.Tasks.Deps.Loadpaths.run []
+    Mix.Project.push(SuccessfulDepsApp)
+
+    in_fixture "deps_status", fn ->
+      Mix.Tasks.Deps.Compile.run([])
+      Mix.Tasks.Deps.Loadpaths.run([])
 
       File.mkdir_p!("_build/dev/lib/ok/ebin")
       manifest_data = :erlang.term_to_binary({:v1, "the_future", :scm})
       File.write!("_build/dev/lib/ok/.compile.elixir_scm", manifest_data)
-      Mix.Task.clear
-
-      msg = "  the dependency was built with an out-of-date Elixir version, run \"mix deps.compile\""
-
-      Mix.Tasks.Deps.run []
+      Mix.Task.clear()
+
+      msg =
+        "  the dependency was built with an out-of-date Elixir version, run \"mix deps.compile\""
+
+      Mix.Tasks.Deps.run([])
       assert_received {:mix_shell, :info, [^msg]}
 
       # deps.loadpaths will automatically recompile it
-      Mix.Tasks.Deps.Loadpaths.run []
-
-      Mix.Tasks.Deps.run []
+      Mix.Tasks.Deps.Loadpaths.run([])
+
+      Mix.Tasks.Deps.run([])
       refute_received {:mix_shell, :info, [^msg]}
     end
   end
 
   test "checks if dependencies are using old scm version" do
-    Mix.Project.push SuccessfulDepsApp
-
-    in_fixture "deps_status", fn ->
-      Mix.Tasks.Deps.Compile.run []
-      Mix.Tasks.Deps.Loadpaths.run []
+    Mix.Project.push(SuccessfulDepsApp)
+
+    in_fixture "deps_status", fn ->
+      Mix.Tasks.Deps.Compile.run([])
+      Mix.Tasks.Deps.Loadpaths.run([])
 
       File.mkdir_p!("_build/dev/lib/ok/ebin")
-      manifest_data = :erlang.term_to_binary({:v2, {System.version, :erlang.system_info(:otp_release)}, :scm})
+
+      manifest_data =
+        :erlang.term_to_binary({:v2, {System.version(), :erlang.system_info(:otp_release)}, :scm})
+
       File.write!("_build/dev/lib/ok/.compile.elixir_scm", manifest_data)
-      Mix.Task.clear
+      Mix.Task.clear()
 
       msg = "  the dependency was built with another SCM, run \"mix deps.compile\""
 
-      Mix.Tasks.Deps.run []
+      Mix.Tasks.Deps.run([])
       assert_received {:mix_shell, :info, [^msg]}
 
       # deps.loadpaths will automatically recompile it
-      Mix.Tasks.Deps.Loadpaths.run []
-
-      Mix.Tasks.Deps.run []
+      Mix.Tasks.Deps.Loadpaths.run([])
+
+      Mix.Tasks.Deps.run([])
       refute_received {:mix_shell, :info, [^msg]}
     end
   end

          ]
        end
      end
      """

      assert_raise Mix.Error, fn ->
        Mix.Tasks.Deps.Get.run []
        Mix.Tasks.Deps.Loadpaths.run []
      end

      assert_received {:mix_shell, :error, ["  the dependency git_repo in mix.exs is overriding" <> _]}
    end
  end

  test "works with converged dependencies" do
    Mix.Project.push ConvergedDepsApp

    in_fixture "deps_status", fn ->
      Mix.Tasks.Deps.Get.run []
      message = "* Getting git_repo (#{fixture_path("git_repo")})"
      assert_received {:mix_shell, :info, [^message]}


        version: "0.1.0",
        deps: [
          {:git_repo, ">= 0.1.0", git: MixTest.Case.fixture_path("git_repo")},
          {:ok, ">= 2.0.0", path: "deps/ok"}
        ]
      ]
    end
  end

  test "cleans dependencies" do
    Mix.Project.push(CleanDepsApp)

    in_fixture "deps_status", fn ->
      File.mkdir_p!("_build/dev/lib/raw_sample")
