Release Candidate for 1.0.0. Please try it out and report any issues. If all is well, then this version may migrate to final 1.0.0.
Note to Carthage Users: You must explicitly give this version for Carthage to install.
github "Quick/Nimble" "v1.0.0-rc.1"
Changes:
FailureMessage.stringValueis now a property. It can be assigned to override other values.beTruthy()andbeFalsy()matchers now work for nil types and SwiftraiseException()no longer accepts matchers. Use the closure form instead.AssertionHandlerprotocol receives FailureMessage instead of a String.Expectation.verify()now uses FailureMessage instead of String.- Renamed
NMB_wait*builder functions to be more consistent with rest of Nimble. fail()with no args passes through line number and file informationNMBObjCMatcherclosure no long accepts source location directly. UseactualExpression.locationinstead.FullMatcherFuncno longer negatesdoesNotMatch()when invoking its given closure.
Removed:
NMBWaitclass is now private.- Removed
BasicMatcherWrapper - Removed
NonNilBasicMatcherWrapper - Removed
NonNilMatcherWrapper, useNonNilMatcherFuncfor the same behavior. - Removed
FullMatcherWrapper