Skip to content

avoid using error message as granularity in message details#6

Open
huttli wants to merge 2 commits intopicardy:masterfrom
huttli:master
Open

avoid using error message as granularity in message details#6
huttli wants to merge 2 commits intopicardy:masterfrom
huttli:master

Conversation

@huttli
Copy link
Copy Markdown

@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
Copy Markdown
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