Skip to content

Commit 9d9b431

Browse files
author
Colby Swandale
authored
Merge pull request #301 from ruby/colby/update-rubocop
Fix outstanding rubocop warnings
2 parents d21463c + 799d847 commit 9d9b431

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Diff for: .rubocop.yml

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ AllCops:
44
Exclude:
55
- doc/**/*.rb
66
- rake.gemspec
7+
- bin/*
78

89
Metrics/LineLength:
910
Enabled: true

Diff for: test/helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$:.unshift File.expand_path("../../lib", __FILE__)
33

44
begin
5-
if ENV['COVERALLS']
5+
if ENV["COVERALLS"]
66
gem "coveralls"
77
require "coveralls"
88
Coveralls.wear!

Diff for: test/test_rake_task.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ def test_find
172172
task :tfind
173173
assert_equal "tfind", Task[:tfind].name
174174
ex = assert_raises(RuntimeError) { Task[:leaves] }
175-
assert_equal "Don't know how to build task 'leaves' (See the list of available tasks with `rake --tasks`)", ex.message
175+
assert_equal "Don't know how to build task 'leaves'" \
176+
" (See the list of available tasks with `rake --tasks`)", ex.message
176177
end
177178

178179
def test_defined

0 commit comments

Comments
 (0)