Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

these cases should throw exception #27

Closed
fishbar opened this issue Jan 20, 2015 · 3 comments
Closed

these cases should throw exception #27

fishbar opened this issue Jan 20, 2015 · 3 comments

Comments

@fishbar
Copy link

fishbar commented Jan 20, 2015

this case should throw exception:

multiline(function () {
// test invalid content
/*
valid content
*/
});

this case should throw too:

multiline(function () {
/*
valid content
*/
/*
valid content 2
*/
});
@sindresorhus
Copy link
Owner

Why? Have you encountered this? There are a multitude of ways to do it wrong. Not sure it's worth adding lots of complications for checking for that.

@fishbar
Copy link
Author

fishbar commented Feb 7, 2015

because strict always good for code

@sindresorhus
Copy link
Owner

PR welcome, but going to close this as I don't have any interest in doing this myself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants