module Maxitest::Pending
def pending(reason=nil)
def pending(reason=nil) if block_given? begin yield rescue StandardError, Minitest::Assertion skip reason else raise "Fixed" end else raise ArgumentError, "Need a block to execute" end end
def pending(reason=nil) if block_given? begin yield rescue StandardError, Minitest::Assertion skip reason else raise "Fixed" end else raise ArgumentError, "Need a block to execute" end end