Skip to content

Commit

Permalink
Merge pull request #301 from ruby/colby/update-rubocop
Browse files Browse the repository at this point in the history
Fix outstanding rubocop warnings
  • Loading branch information
colby-swandale authored Dec 30, 2018
2 parents d21463c + 799d847 commit 9d9b431
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ AllCops:
Exclude:
- doc/**/*.rb
- rake.gemspec
- bin/*

Metrics/LineLength:
Enabled: true
Expand Down
2 changes: 1 addition & 1 deletion test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$:.unshift File.expand_path("../../lib", __FILE__)

begin
if ENV['COVERALLS']
if ENV["COVERALLS"]
gem "coveralls"
require "coveralls"
Coveralls.wear!
Expand Down
3 changes: 2 additions & 1 deletion test/test_rake_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ def test_find
task :tfind
assert_equal "tfind", Task[:tfind].name
ex = assert_raises(RuntimeError) { Task[:leaves] }
assert_equal "Don't know how to build task 'leaves' (See the list of available tasks with `rake --tasks`)", ex.message
assert_equal "Don't know how to build task 'leaves'" \
" (See the list of available tasks with `rake --tasks`)", ex.message
end

def test_defined
Expand Down

0 comments on commit 9d9b431

Please sign in to comment.