class Probatio::Context

def do_assert_(as, &block)

def do_assert_(as, &block)
  Probatio.despatch(:assertion_enter, self, @__child)
  case r =
    begin; block.call; rescue => err; err; end
  when StandardError, Hash, String
    aerr = make_assertion_error(as, r)
    Probatio.despatch(:test_fail, self, @__child, aerr)
    raise aerr
  when Exception
    Probatio.despatch(:test_exception, self, @__child, r)
    raise r
  when :pending
    :pending
  else
    true
  end
ensure
  #Probatio.despatch(:test_succeed, self, @__child)
  Probatio.despatch(:assertion_leave, self, @__child)
end