-
Notifications
You must be signed in to change notification settings - Fork 115
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
'Expecting actual not to be empty' when asserting array after filteredOn #497
Comments
Seems like I've found the cause. This works: assertThatJson("""[{"id": 123, "name": "abc"}, {"id": 432}]""")
.isArray()
.filteredOn("id", BigDecimal(123))
.first()
.node("name")
.isEqualTo(value("abc")) |
I think such Also it's obvious that assertion error message is a bit unclear |
Hi, thanks for feedback.
|
|
Just checked it. |
Just noticed that when using |
Describe the bug
Everything should be fine but I got:
The text was updated successfully, but these errors were encountered: