Skip to content
New issue

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

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

Already on GitHub? # 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];

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

No branches or pull requests

1 participant