From 606e61300dc188d369c91e872b215aa73fec2faa Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Wed, 7 Nov 2018 06:58:59 +1100 Subject: [PATCH] fix rubocop issues that i made --- .rubocop.yml | 1 + test/test_rake_task.rb | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.rubocop.yml b/.rubocop.yml index 9a14d206e..84d6a7c5b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,6 +4,7 @@ AllCops: Exclude: - doc/**/*.rb - rake.gemspec + - bin/* Metrics/LineLength: Enabled: true diff --git a/test/test_rake_task.rb b/test/test_rake_task.rb index ab24cbba5..361281a60 100644 --- a/test/test_rake_task.rb +++ b/test/test_rake_task.rb @@ -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