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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add beWithin matcher #886

Merged
merged 2 commits into from May 11, 2021
Merged

Add beWithin matcher #886

merged 2 commits into from May 11, 2021

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented May 10, 2021

The original work is #837 by @sunshinejr 馃憦

This PR adds new matcher, beWithin, that checks if given comparable value is within given range. This is somewhat similar to be between from RSpec, but I've adapted that a bit to fit more with ranges.

@ikesyo ikesyo changed the title Add beWithin matcher Add beWithin matcher May 10, 2021
Copy link
Contributor

@sunshinejr sunshinejr left a comment

Choose a reason for hiding this comment

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

thanks for bringing it in!

@ikesyo ikesyo merged commit 96a3c42 into master May 11, 2021
@ikesyo ikesyo deleted the feature/be_within branch May 11, 2021 14:57
@jessesquires jessesquires added this to the v10.0.0 milestone Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants