Skip to content

Commit

Permalink
fix outstanding rubocop warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
colby-swandale committed Dec 30, 2018
1 parent d21463c commit 799d847
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 799d847

Please sign in to comment.