   end
 
   test "shows the dependency tree", context do
-    Mix.Project.push ConvergedDepsApp
+    Mix.Project.push(ConvergedDepsApp)
 
     in_tmp context.test, fn ->
       Mix.Tasks.Deps.Tree.run(["--format", "pretty"])

  end

  test "shows the dependency tree in DOT graph format", context do
    Mix.Project.push ConvergedDepsApp

    in_tmp context.test, fn ->
      Mix.Tasks.Deps.Tree.run(["--format", "dot"])

      assert File.read!("deps_tree.dot") == """
        digraph "dependency tree" {
          "sample"
          "sample" -> "git_repo" [label=">= 0.1.0"]
          "sample" -> "deps_on_git_repo" [label="0.2.0"]
        }
        """

      Mix.Tasks.Deps.Get.run([])
      Mix.Tasks.Deps.Tree.run(["--format", "dot"])

      assert File.read!("deps_tree.dot") == """
        digraph "dependency tree" {
          "sample"
          "sample" -> "git_repo" [label=">= 0.1.0"]
          "sample" -> "deps_on_git_repo" [label="0.2.0"]
          "deps_on_git_repo" -> "git_repo" [label=""]
        }
        """
    end
  after
    purge [DepsOnGitRepo.MixProject, GitRepo.MixProject]
  end
end

  end

  test "shows a particular environment", context do
    Mix.Project.push(OverriddenDepsApp)

    in_tmp context.test, fn ->
      Mix.Tasks.Deps.Tree.run(["--format", "pretty", "--only", "prod"])
