Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible with Specta 2.0.0 #200

Open
phineasla opened this issue Jan 27, 2024 · 0 comments
Open

Incompatible with Specta 2.0.0 #200

phineasla opened this issue Jan 27, 2024 · 0 comments

Comments

@phineasla
Copy link

phineasla commented Jan 27, 2024

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)

[testCase recordFailureWithDescription:message
inFile:@(fileName)
atLine:lineNumber
expected:NO];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant