     end
   end
 
-  # Asserts the `not_expected` value is false.
-  #
-  # ## Examples
-  #
-  #     refute false
-  #
+  @doc """
+  Asserts the `not_expected` value is false.
+
+  ## Examples
+
+      refute false
+
+  """
   def refute(not_expected) do
     refute(not_expected, "Expected #{inspect not_expected} to be false")
   end

defexception ExUnit::AssertionError, message: "assertion failed"

defmodule ExUnit::Assertions do
  # Asserts the `expected` value matches `received`. Differently
  # from `assert_equal`, `assert_match` uses underscore and
  # therefore allows a developer to match against a specific
  # part of the `received` structure.
  #
  # ## Examples
  #
  #     assert_match { 1, _, 3 }, { 1, 2, 3 }
  #
  defmacro assert_match(expected, received) do
    quote do
      try do

    assert(Erlang.string.str(container, base) != 0, message)
  end

  @doc """
  Asserts the `expected` value is equal to `received`.

  ## Examples

      assert_equal 0, 0

  """
  def assert_equal(expected, received) do
    assert_equal(expected, received, "Expected #{inspect received} to be equal to #{inspect expected}")
  end
