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

Add beCloseTo/beCloseToWithin/plusMinus operators support for NSDate #295

Merged
merged 1 commit into from
May 15, 2016

Conversation

mishimay
Copy link
Contributor

This pull request enables these expressions.

var date1, date2: NSDate!

expect(date1)  date2

expect(date1)  (date2, 10)
expect(date1) == (date2, 10)

expect(date1)  date2 ± 10
expect(date1) == date2 ± 10

@ashfurrow
Copy link
Member

Makes sense to me! Nice tests.

@ashfurrow ashfurrow merged commit d466bf1 into Quick:master May 15, 2016
Megal pushed a commit to Megal/Nimble that referenced this pull request Jul 31, 2019
Add beCloseTo/beCloseToWithin/plusMinus operators support for NSDate
phatblat pushed a commit to phatblat/Nimble that referenced this pull request May 3, 2020
…_different_context

Shared examples with different context
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.

2 participants