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

Fix test for empty list #92

Merged
merged 1 commit into from Sep 17, 2019

Conversation

mdellweg
Copy link
Contributor

@mdellweg mdellweg commented Sep 2, 2019

I turns out that the bool filter casts a non-empty list to false. The
proper test seems to compare its length with zero.

I turns out that the bool filter casts a non-empty list to false. The
proper test seems to compare its length with zero.
@bmbouter
Copy link

bmbouter commented Sep 2, 2019

@geerlingguy what do you think about this?

Copy link

@lhoss lhoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my improvement suggestion in the PR comment

tasks/configure.yml Show resolved Hide resolved
tasks/configure.yml Show resolved Hide resolved
@geerlingguy geerlingguy merged commit 8044410 into geerlingguy:master Sep 17, 2019
@mdellweg mdellweg deleted the fix_empty_list_test branch September 18, 2019 07:49
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

Successfully merging this pull request may close these issues.

None yet

4 participants