       iex> 1 + 2
 
   '''
-  def not_enough, do: :ok
+  def test_fun, do: :ok
 end |> write_beam
 
 defmodule ExUnit.DocTestTest.Numbered do
   @doc """
-  iex(1)> x = 1 + 2
-  ...(1)> x
+  iex(1)> 1 +
+  ...(1)> 2
   3
   """
   def test_fun(), do: :ok

  test "multiple functions filtered with :only" do
    defmodule MultipleOnly do
      use ExUnit.Case
      doctest ExUnit.DocTestTest.SomewhatGoodModuleWithOnly, only: [test_fun: 0, test_fun1: 0], import: true
    end

    assert capture_io(fn -> ExUnit.run end) =~ "2 tests, 1 failure"

      iex> 1 + 2
    3
  '''
  def test_fun, do: :ok
end |> write_beam

defmodule ExUnit.DocTestTest.Incomplete do
