-
Notifications
You must be signed in to change notification settings - Fork 47
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
Ensuring that the second argument to is
resides in its own line
#257
Comments
I think this is probably pretty easy, but I'm unsure of what you mean by your last statement about "handles such optional arguments gracefully". If you want to give me a couple of examples of what you want to see with (or without) the "optional arguments", I hope to be able to give you a solid solution to this. |
I have added |
Also in |
This is one little rule that would be part of
Semantic
. Probably an easy one:The second argument of
clojure.test/is
, if provided, should reside in its own line.The intent is to make it super clear that
"Is very cool"
is not part of the assertion. That can easily become non-obvious over Github code reviews, where one doesn't have paren matching at hand."A second argument has to reside in its own line" might be equivalent to "a newline must be placed after the first argument". We already have a few rules similar to "a newline must be placed after the first argument" so this might be super easy.
The only thing I'm not sure about is whether current tech handles such optional arguments gracefully.
Thanks - V
The text was updated successfully, but these errors were encountered: