 
   test "translates Task raising ErlangError" do
     assert capture_log(fn ->
-      exception = try do
+      exception =
+        try do
           :erlang.error(:foo)
         rescue
          x ->

  test "translates Supervisor reports start error" do
    assert capture_log(:info, fn ->
      trap = Process.flag(:trap_exit, true)
      Supervisor.start_link([worker(__MODULE__, [], [function: :error])],
        [strategy: :one_for_one])
      receive do: ({:EXIT, _, {:shutdown, {:failed_to_start_child, _, _}}} -> :ok)
      Process.flag(:trap_exit, trap)
    end) =~ ~r"""

  test "translates Supervisor reports max restarts shutdown" do
    assert capture_log(:info, fn ->
      trap = Process.flag(:trap_exit, true)
      children = [worker(Task, [Kernel, :exit, [:stop]])]
      {:ok, pid} = Supervisor.start_link(children, strategy: :one_for_one, max_restarts: 0)
      receive do: ({:EXIT, ^pid, _} -> :ok)
      Process.flag(:trap_exit, trap)
    end) =~ ~r"""
