You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've submitted a PR that breaks a couple haveFailed() specs (but updates to latest Nimble), once I figure out how to fix them I'll try to add the requested tests. Help would be appreciated though, I'm lacking context and intent. @modocache
It looks like version 7.0.0 of Nimble introduced a change which evaluates the expressions in a try clause for the purpose of clarifying failure messages (line 48 in Nimble's Expectation.swift). This breaks the haveFailed() specs which intentionally throw errors, since Nimble catches them. It might be prudent to add new matchers which expect errors to be thrown, as opposed to expecting a failure?
Tests should be added for the cases in which the result is a failure, but doesn't match the specified domain or description.
The text was updated successfully, but these errors were encountered: