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

Follow-up to #831. #835

Merged
merged 4 commits into from
May 16, 2016
Merged

Follow-up to #831. #835

merged 4 commits into from
May 16, 2016

Conversation

novemberborn
Copy link
Member

Follow-up to #831.

@@ -191,7 +191,7 @@ Test.prototype._result = function () {
if (this.metadata.failing) {
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.

2 participants