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

Throw a plain AssertionError if ComparisonFailure is unavailable, for real this time. #806

Merged
merged 1 commit into from
Jan 23, 2021

Conversation

copybara-service[bot]
Copy link
Contributor

Throw a plain AssertionError if ComparisonFailure is unavailable, for real this time.

This should really let users exclude the JUnit 4 dependency -- again, as long as they don't use Expect, ExpectFailure, or TruthJUnit (i.e., assume()).

This change makes the previously failing test procedure described in #333 (comment) pass.

RELNOTES=Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions -- really this time. (JUnit 4 is still required for some advanced features, like Expect, ExpectFailure, and TruthJUnit.assume().)

@google-cla google-cla bot added the cla: yes label Jan 22, 2021
@copybara-service copybara-service bot force-pushed the test_353318639 branch 2 times, most recently from 936de62 to 16ee13a Compare January 23, 2021 14:49
… real this time.

This should *really* let users exclude the JUnit 4 dependency -- again, as long as they don't use Expect, ExpectFailure, or TruthJUnit (i.e., assume()).

This change makes the previously failing test procedure described in #333 (comment) pass.

RELNOTES=Made it possible for users to exclude our JUnit 4 dependency and still use standard Truth assertions -- *really* this time. (JUnit 4 is still required for some advanced features, like `Expect`, `ExpectFailure`, and `TruthJUnit.assume()`.)
PiperOrigin-RevId: 353416036
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant