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

Fixed diff method #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixed diff method #54

wants to merge 2 commits into from

Conversation

aminmsvi
Copy link

@aminmsvi aminmsvi commented Sep 7, 2018

In this branch I did two things:

  • Fixed bug where diff method did not return a negative value when the date was less than other.
  • Added some tests for diff method. Tests for when date is less than, greater than and equals to the other one.
    I ran eslint and it had lots of errors but I did not fix them since I only wanted to fix diff method and nothing else. Not sure if I had to fix them or not 😅
    Also I'm not sure if I should merge this branch with master or develop 😅

…e date was less than other.

- Added some tests for diff method. Tests for when date is less than, greater than and equals to the other one.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 94.118% when pulling d0874b4 on aminmsvi:fix-diff into be07931 on babakhani:master.

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