|
Ran
|
Jobs
32
|
Files
101
|
Run time
1min
|
Badge
README BADGES
|
push
github
Make sure todo file generates with a newline at the end (#584) **What** Make sure todo file generates with a newline at the end **Why** Everytime I regenerate a haml lint todo file I have to manually add in a newline so that we don't lose it. **Notes** This matches how rubocop works as can be seen in the contents of [spec/rubocop/formatter/disabled_config_formatter_spec.rb](https://github.com/rubocop/rubocop/blob/6c522f8db/spec/rubocop/formatter/disabled_config_formatter_spec.rb#L105-L121): ``` let(:expected_rubocop_todo) do [heading, '# Offense count: 2', 'Test/Cop1:', ' Exclude:', " - 'Gemfile'", " - 'test_a.rb'", " - 'test_b.rb'", '', '# Offense count: 1', 'Test/Cop2:', ' Exclude:', " - '**/*.blah'", ' - !ruby/regexp /.*/bar/*/foo\.rb$/', " - 'test_a.rb'", ''].join("\n") end ```
1 of 1 new or added line in 1 file covered. (100.0%)
2757 of 2835 relevant lines covered (97.25%)
21034.57 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|