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

handle emty lists in assert_list_element_type and ensure proper ordering of arguments #37452

Closed
asirko-soft opened this issue Feb 7, 2025 · 0 comments · Fixed by #37453
Closed
Assignees
Labels

Comments

@asirko-soft
Copy link
Contributor

Currently matter_asserts.assert_list_element_type([], str, "test_empty") is not handled properly, this assertion passes. This needs to be fixed.

Other thing is that in assertion libraries, there's a common pattern where the actual value being tested comes first, followed by the expected value or condition. We need to follow this as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

1 participant