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

Adjust type of t.fail to return never #2450

Closed
wants to merge 1 commit into from

Conversation

bitjson
Copy link
Contributor

@bitjson bitjson commented Apr 9, 2020

Implements first suggestion from #2449

@novemberborn
Copy link
Member

Thanks for the PR!

Based on your example in #2449 I believe this could be a breaking change? I'd really like to avoid accidentally causing compilation errors when somebody updates AVA.

I'm working towards an updated test interface in #2435. We can land breaking changes there, and cut over when we're ready to ship AVA 4.

Whilst we're discussing #2449, and since #2435 hasn't landed yet, I think it's best to close this PR.

@bitjson
Copy link
Contributor Author

bitjson commented Apr 11, 2020

Ah, and this type is actually incorrect unless failFast is enabled: #2449 (comment)

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

Successfully merging this pull request may close these issues.

2 participants