Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 13, 2012
  1. @yourcelf
  2. @yourcelf

    Add explicit failure through `expect().fail()`

    yourcelf authored
    Sometimes, you just need to signal failure, and the logic doesn't make
    sense to encapsulate within `.to.be.not` type chaining.  This commit
    adds an explicit `fail()` assertion which forces failure.  Since there's
    no context to expect() with which to construct an 'expected ... to be
    ...` type failure message, also let a message be specified with an
    optional first argument: `fail("custom message")`.
Something went wrong with that request. Please try again.