 
   test "unsafely inspect bad implementation" do
     exception_message = ~s'''
-    got MyArgumentError with message:
+    got ArgumentError with message:
 
         """
         errors were found at the given arguments:


    defimpl Inspect do
      def inspect(%Failing{name: _name}, _) do
        MyArgumentError.culprit()
      end
    end
  end

  test "safely inspect bad implementation" do
    assert_raise MyArgumentError, ~r/errors were found at the given arguments:/, fn ->
      raise(MyArgumentError)
    end

    message = ~s'''
    #Inspect.Error<
      got MyArgumentError with message:

          """
          errors were found at the given arguments:

    rescue
      exception in Inspect.Error ->
        assert Exception.message(exception) =~ exception_message
        assert [{:erlang, :atom_to_binary, _, _} | _] = __STACKTRACE__
    else
      _ -> flunk("expected failure")
    end
