We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A number of the cases in the readme which are unsupported due to limitations in AssertJ appear to be cases which are possible in AssertJ.
I'm assuming this just comes down to these being added after the docs were written.
Hamcrest:
assertThat(2, comparesEqualTo(2)); assertThat(2, not(comparesEqualTo(3)));
AssertJ:
assertThat(2).isEqualByComparingTo(2); assertThat(2).isNotEqualByComparingTo(3);
assertThat(5.0, not(closeTo(2.0, 1.0))); assertThat(5.0, is(not(closeTo(2.0, 1.0))));
assertThat(5.0).isNotCloseTo(2.0, within(1.0));
assertThat("string", equalToIgnoringWhiteSpace(" string")); assertThat("string", is(equalToIgnoringWhiteSpace(" string")));
assertThat("string").isEqualToIgnoringWhiteSpace(" string");
assertThat("string", not(equalToIgnoringWhiteSpace("tring"))); assertThat("string", is(not(equalToIgnoringWhiteSpace("tring"))));
assertThat("string").isNotEqualToIgnoringWhitespace("tring");
assertThat("string", stringContainsInOrder(asList("s", "t")));
assertThat("string").containsSubsequence("s", "t");
etc.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A number of the cases in the readme which are unsupported due to limitations in AssertJ appear to be cases which are possible in AssertJ.
I'm assuming this just comes down to these being added after the docs were written.
Hamcrest:
AssertJ:
Hamcrest:
AssertJ:
Hamcrest:
AssertJ:
Hamcrest:
AssertJ:
Hamcrest:
AssertJ:
etc.
The text was updated successfully, but these errors were encountered: