Quick / Nimble

A Matcher Framework for Swift and Objective-C
https://quick.github.io/Nimble/documentation/nimble/
Apache License 2.0
4.8k stars 601 forks source link

Simplify the implementations of beTruthy and beFalsy #978

Closed younata closed 2 years ago

younata commented 2 years ago

This was pointed out by @amomchilov in https://github.com/Quick/Nimble/issues/917. Thanks!

Basically, we don't need to be doing the if let in these matchers. So, let's take them out.

This isn't even a minor version bump.