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

equalToIgnoringWhiteSpace() and not(equalToIgnoringWhiteSpace()) should be supported #1

Open
ChrisCanCompute opened this issue Feb 2, 2016 · 1 comment

Comments

@ChrisCanCompute
Copy link

You've stated in the readme that you can not convert the following "due to AssertJ limitations"

assertThat("string", equalToIgnoringWhiteSpace(" string"));
assertThat("string", is(equalToIgnoringWhiteSpace(" string")));
assertThat("string", not(equalToIgnoringWhiteSpace("tring")));
assertThat("string", is(not(equalToIgnoringWhiteSpace("tring"))));

But these are supported. See AbstractCharSequenceAssert.java#L797 and AbstractCharSequenceAssert.java#L829

@mkordas
Copy link
Owner

mkordas commented Feb 4, 2016

@ChrisA89 you are right! It was me who requested this in AssertJ in assertj/assertj#355, so I just need to update documentation now.

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

2 participants