-
-
Notifications
You must be signed in to change notification settings - Fork 766
Add isNotEmpty to Table assertions
#3559
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
Conversation
8c0700b to
71a8909
Compare
|
Branch rebased |
71a8909 to
f869697
Compare
TableAssert#isNotEmpty() added
e37628a to
eaf90c3
Compare
|
Branch rebased |
|
Is there any chance to merge this? |
eaf90c3 to
9a51870
Compare
|
Hi @mk868, sorry for the slow feedback! I just let the pipeline run, you might face some formatting alerts that can be fixed with spotless. Anyway, I'll jump on the PR over the weekend and get back to you. |
scordio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few cosmetic comments. No worries if you don't have time, I can take care of them during the merge.
...sertj-guava-tests/src/test/java/org/assertj/tests/guava/api/TableAssert_isNotEmpty_Test.java
Outdated
Show resolved
Hide resolved
...sertj-guava-tests/src/test/java/org/assertj/tests/guava/api/TableAssert_isNotEmpty_Test.java
Outdated
Show resolved
Hide resolved
...sertj-guava-tests/src/test/java/org/assertj/tests/guava/api/TableAssert_isNotEmpty_Test.java
Outdated
Show resolved
Hide resolved
...sertj-guava-tests/src/test/java/org/assertj/tests/guava/api/TableAssert_isNotEmpty_Test.java
Show resolved
Hide resolved
9a51870 to
df0f668
Compare
|
Thank you for your review! |
TableAssert#isNotEmpty() addedisNotEmpty to Table assertions
|
Thanks for your first contribution, @mk868! |
The
TableAssertcurrently containsisEmpty()assertion, but noisNotEmpty(). I want to extend this to be like other collection assertions.Check List:
Changes in this PR:
isNotEmpty()added to theTableAssertclassTableAssert#isNotEmpty()TableAssert_isEmpty_Test#should_fail_if_actual_is_null()test method