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 find. #171

Merged
merged 1 commit into from
Sep 17, 2023
Merged

Fix find. #171

merged 1 commit into from
Sep 17, 2023

Conversation

okamsn
Copy link
Owner

@okamsn okamsn commented Sep 15, 2023

  • Don't assume that the test failed when value is explicitly set to nil
    after passing the test.
  • Handle :on-failure even when the value is explicitly nil. If the tests
    fails, the accumulation variable should still be set to nil in case it has
    some other value at the time of failing.

- Fix `:on-failure` when the accumulated value is set to nil.  Previously,
  a nil value was interpreted a failing the test, which meant that the value
  `:on-failure` would be used.

- Fix detecting `:on-failure` when the keyword value is nil.  Previously, if the
  value given by `:on-failure` was nil, then that would be interpreted as the
  keyword not being used.
@okamsn okamsn merged commit 311e9b7 into master Sep 17, 2023
5 checks passed
@okamsn okamsn deleted the fix-finding branch February 25, 2024 16:48
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.

1 participant