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.stringValue
is 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.AssertionHandler
protocol 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 informationNMBObjCMatcher
closure no long accepts source location directly. UseactualExpression.location
instead.FullMatcherFunc
no longer negatesdoesNotMatch()
when invoking its given closure.
Removed:
NMBWait
class is now private.- Removed
BasicMatcherWrapper
- Removed
NonNilBasicMatcherWrapper
- Removed
NonNilMatcherWrapper
, useNonNilMatcherFunc
for the same behavior. - Removed
FullMatcherWrapper