 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 }
-  #
+  @doc """
+  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 false, message
  end

  # Asserts the `expected` value is true.
  #
  # ## Examples
  #
  #     assert true
  #
  def assert(expected) do
    assert(expected, "Expected #{inspect expected} to be true")
  end

    not assert(!not_expected, message)
  end

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

  ## Examples

      refute_equal 0, 1

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