Skip to content

Conversation

@novemberborn
Copy link
Member

Follow-up to #831.

lib/test.js Outdated
passed = !passed;
if (!passed) {
reason = new Error('Test was expected to fail, but succeeded, you should unmark the test as failing');
reason = new Error('Test was expected to fail, but succeeded. You should stop marking the test as failing');
Copy link
Member

Choose a reason for hiding this comment

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

It's kinda weird only having a . after the first sentence.

Copy link
Member

@sindresorhus sindresorhus May 16, 2016

Choose a reason for hiding this comment

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

We might want an ESLint rule for this, either way.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK, reverted to the original succeeded, you should form.

ESLint rule?

Copy link
Member

Choose a reason for hiding this comment

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

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.

3 participants