              deps: [{:bar, in_umbrella: true}]]
           end
         end
-        """
+        """)
 
         assert_raise Mix.Error, "App bar lists itself as a dependency", fn ->
           Mix.Task.run("deps.get", ["--verbose"]) == [:ok, :ok]
         end
-      end
+      end)
     end)
   end
 end


      # Emulate the dependency being removed
      Mix.Project.in_project(:foo, "apps/foo", [build_path: "../../_build", deps: []], fn _ ->
        File.rm_rf "../../_build/dev/lib/bar"
        Mix.Task.run("compile.protocols")
      end)
    end)

  test "apps_paths with selection" do
    in_fixture "umbrella_dep/deps/umbrella", fn ->
      Mix.Project.in_project(:umbrella, ".", [apps: [:foo, :bar]], fn _ ->
        File.mkdir_p!("apps/errors")
        File.write!("apps/errors/mix.exs", "raise :oops")
        assert Mix.Project.apps_paths() == %{bar: "apps/bar", foo: "apps/foo"}
      end)
    end
  end
