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

notEndWith should not trigger on 1 char strings #137

Merged
merged 1 commit into from
Aug 15, 2018

Conversation

philsturgeon
Copy link
Contributor

Because its not just ending with that, but starting with that.

Fixes #134

Because its not just ending with that, but starting with that.

Fixes #134
@philsturgeon philsturgeon changed the title notEndWith should not trigger if iuts only 1 thing notEndWith should not trigger on 1 char strings Aug 14, 2018
@coveralls
Copy link

coveralls commented Aug 14, 2018

Coverage Status

Coverage increased (+0.4%) to 87.187% when pulling e7a8bee on bug/path-ending-root into 078dc0d on master.

@@ -66,9 +66,11 @@ describe('Linter', () => {
getLinterErrors(runLinter('something', input, args.key)).should.be.deepEqual(expectedErrors);
}

const lintAndExpectValid = async (rule, input, args = {}) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No need to have this function be async, and it was making failures show up as unhandled promise warnings (false green on test suite)

Copy link
Contributor

@dangoosby dangoosby left a comment

Choose a reason for hiding this comment

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

👍

@philsturgeon philsturgeon merged commit 88b0992 into master Aug 15, 2018
@nesl247
Copy link

nesl247 commented Aug 16, 2018

@philsturgeon Any chance to get a release for this? I can't upgrade to 0.8 until then. Thanks!

@philsturgeon
Copy link
Contributor Author

philsturgeon commented Aug 17, 2018 via email

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.

5 participants