-
Notifications
You must be signed in to change notification settings - Fork 92
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
deprecate TO_FILE and make all private methods private #84
Conversation
b31437e
to
d428cd0
Compare
expect(formatter.short_filename('file1')).to eq('file1') | ||
expect(formatter.short_filename("#{::SimpleCov.root}/file1")).to eq('file1') | ||
expect(call('file1')).to eq('file1') | ||
expect(call("#{::SimpleCov.root}/file1")).to eq('file1') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I prefer the explicit style. This is harder for me to read.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these spec changes related to the changes in this commit? They don't seem to be.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
un-dry-ed it
On Sat, Apr 18, 2015 at 7:27 AM, Noah Davis notifications@github.com
wrote:
In spec/lib/formatter_spec.rb
#84 (comment)
:it 'should return the filename of the file relative to the SimpleCov root' do
expect(formatter.short_filename('file1')).to eq('file1')
expect(formatter.short_filename("#{::SimpleCov.root}/file1")).to eq('file1')
expect(call('file1')).to eq('file1')
expect(call("#{::SimpleCov.root}/file1")).to eq('file1')
I think I prefer the explicit style. This is harder for me to read.
—
Reply to this email directly or view it on GitHub
https://github.com/codeclimate/ruby-test-reporter/pull/84/files#r28644407
.
good to go ? |
@@ -36,6 +36,8 @@ def format(result) | |||
false | |||
end | |||
|
|||
private |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi was not outdetend before
Looking better, thank you -- one last comment. |
deprecate TO_FILE and make all private methods private
@noahd1 @jonathancadepowers