     end
 
     test "return exit on normal exit" do
-      task = Task.async(fn -> exit :normal end)
+      task = Task.async(fn -> exit(:normal) end)
       assert Task.yield_many([task]) == [{task, {:exit, :normal}}]
     end
 
     test "exits on :noconnection" do
-      ref  = make_ref()
+      ref = make_ref()
       task = %Task{ref: ref, pid: self(), owner: self()}
-      send self(), {:DOWN, ref, :process, self(), :noconnection}
+      send(self(), {:DOWN, ref, :process, self(), :noconnection})
       assert catch_exit(Task.yield_many([task])) |> elem(0) == {:nodedown, :nonode@nohost}
     end
 
     test "raises when invoked from a non-owner process" do
       task = create_task_in_other_process()
-      message = "task #{inspect task} must be queried from the owner but was queried from #{inspect self()}"
+
+      message =
+        "task #{inspect(task)} must be queried from the owner " <>
+          "but was queried from #{inspect(self())}"
+
       assert_raise ArgumentError, message, fn -> Task.yield_many([task], 1) end
     end
 

    end

    test "return exit on normal exit" do
      task = Task.async(fn -> exit :normal end)
      assert Task.yield(task) == {:exit, :normal}
    end

    test "exits on :noconnection" do
      ref  = make_ref()
      task = %Task{ref: ref, pid: self(), owner: self()}
      send self(), {:DOWN, ref, self(), self(), :noconnection}
      assert catch_exit(Task.yield(task)) |> elem(0) == {:nodedown, :nonode@nohost}
    end

    test "raises when invoked from a non-owner process" do
      task = create_task_in_other_process()
      message = "task #{inspect task} must be queried from the owner but was queried from #{inspect self()}"
      assert_raise ArgumentError, message, fn -> Task.yield(task, 1) end
    end
  end

    assert {__MODULE__, fun_name, 0} === :proc_lib.translate_initial_call(task.pid)

    # Run the task
    send(task.pid, true)

    # Assert response and monitoring messages
    ref = task.ref
