         let toPattern = ("expect\\(\(anything)\\)\\.to\\(\(name)\\(\(anything)\\)\\)", operators.to)
         let toNotPattern = ("expect\\(\(anything)\\)\\.toNot\\(\(name)\\(\(anything)\\)\\)", operators.toNot)
 
-        var correctedString: String? = nil
+        var correctedString: String?
 
         for (pattern, operatorString) in [toPattern, toNotPattern] {
             guard let operatorString = operatorString else {

            }

            let expression = regex(pattern)
            if let _ = expression.matches(in: self, options: [], range: range).first {
                correctedString = expression.stringByReplacingMatches(in: self,
                                                                      options: [],
                                                                      range: range,
                                                                      withTemplate: "expect($1) \(operatorString) $2")

                break
            }
        }

        ]
    )

    fileprivate typealias Operators = (to: String?, toNot: String?)
    fileprivate typealias MatcherFunction = String

    fileprivate let operatorsMapping: [MatcherFunction: Operators] = [
        "equal": (to: "==", toNot: "!="),
