-
Notifications
You must be signed in to change notification settings - Fork 510
disallowTrailingWhitespace: fix autofix of multiple trailing spaces in a comment #1979
disallowTrailingWhitespace: fix autofix of multiple trailing spaces in a comment #1979
Conversation
coveralls still showing wrong coverage: https://coveralls.io/builds/4154949/source?filename=lib%2Fjs-file.js#L865 whole function down as not tested.. |
and "All checks have passed"? |
just because the coverage went up, it doesn't mean its not wrong |
Fair enough, i pinged @mdevils about it, as he is maintainer of the |
Hello @lukeapage. I will soon look into this issue and respond. |
According to the idea of |
so are the existing tests all in the wrong place or is the code in the
wrong place?
|
You would need to add tests for |
yeah but at the moment something is in
the wrong place. is it a. the tests or b. the code
its a bit harsh that fixing a bug needs me to refactor one or the other
because you've decided the integration style of your own tests doesn't
count towards coverage.
|
Not sure what do you mean by that, if you move tests in other file nothing will change.
Not exactly, if in the future, rule This is more strict testing policy, i give you that, but more maintainable. |
i think the code is in the wrong place, it doesn't seem right to assert a
whole rule in token assert.
|
Other rules could use that method, that is why it is in the common place |
no other rule is going to check trailing space on the whole file - that is the rule!! |
We can probably move this logic to the |
No description provided.