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

changeSubject to a nullable type #72

Closed
robstoll opened this issue Jan 22, 2019 · 0 comments
Closed

changeSubject to a nullable type #72

robstoll opened this issue Jan 22, 2019 · 0 comments
Assignees
Milestone

Comments

@robstoll
Copy link
Owner

Platform (JVM, JS and/or Android): all

Code related feature

Currently we can use AssertImpl.changeSubject to silently switch the subject, where silently means it is not shown in reporting. However this can only be done if the result type is a subtype of Any
Would be nice if it also works for cases involving nullable types, or in other words, subtypes of Any?

@robstoll robstoll added this to the 0.8.0 milestone Jan 22, 2019
@robstoll robstoll self-assigned this Jan 22, 2019
@robstoll robstoll changed the title changeSubject also for nullable types changeSubject to a nullable type Jan 22, 2019
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