 
   test "fails on invalid use" do
     assert_raise RuntimeError, ~r"cannot define test", fn ->
-      defmodule FunctionClashFail2 do
+      defmodule FunctionClashFail do
         import ExUnit.DocTest
         doctest ExUnit.DocTestTest.Invalid
       end

  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"

  """

  @doc """
  iex> test_fun1
  1
  iex> test_fun1 + 1
  2
  """
  def test_fun1, do: 1

  @doc """
  iex> test_fun2
  1
  iex> test_fun2 + 1
  1
  """
  def test_fun2, do: 1
end |> write_beam

defmodule ExUnit.DocTestTest.NoImport do
