specta / expecta

A Matcher Framework for Objective-C/Cocoa
MIT License
1.59k stars 158 forks source link

Incompatible with Specta 2.0.0 #200

Open phineasla opened 7 months ago

phineasla commented 7 months ago

Specta 2.0.0 removed recordFailureWithDescription:inFile:atLine:expected: in favor of recordIssue:, causing "unrecognized selector sent to instance" error when an expectation fail:

-[FooSpec _recordUnexpectedFailureWithDescription:exception:]: unrecognized selector sent to instance 0x106709ca0 (NSInvalidArgumentException)

https://github.com/specta/expecta/blob/fc2dd8bf29b8e4edbfeb4639a98b5d87bea03e19/Expecta/ExpectaSupport.m#L111-L114