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

avoid using error message as granularity in message details #6

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

Conversation

huttli
Copy link

@huttli huttli commented Jun 20, 2018

When using the assert interface, putting the error message in the granularity parameter's position will get us something like:
assert.sameMoment(a, b, "error message");

error message: expect a to be the same as b (granularity: error message)

The granularity should be skipped since it's not provided at all. And we shouldn't be taking the error message as granularity either.

@huttli
Copy link
Author

huttli commented Jun 20, 2018

was this repo ready for travis-ci integration at all? I thought I've fixed the function assertion on in the test file. local 'npm run test' was all passed.

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