Skip to content

Commit 879e08f

Browse files
committed
rubocop -a
1 parent d7baa00 commit 879e08f

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

test/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
$:.unshift File.expand_path("../../lib", __FILE__)
33

4-
require 'coveralls'
4+
require "coveralls"
55
Coveralls.wear!
66

77
gem "minitest", "~> 5"

test/test_rake_file_utils.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def test_sh_with_hash_option
186186
check_expansion
187187

188188
verbose(false) {
189-
sh "#{RUBY} check_expansion.rb", {chdir: "."}, { verbose: false }
189+
sh "#{RUBY} check_expansion.rb", { chdir: "." }, verbose: false
190190
}
191191
end
192192

test/test_rake_rake_test_loader.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class TestRakeRakeTestLoader < Rake::TestCase
66
def setup
77
super
88

9-
@loader = File.join @rake_lib, 'rake/rake_test_loader.rb'
9+
@loader = File.join @rake_lib, "rake/rake_test_loader.rb"
1010
end
1111

1212
def test_pattern
@@ -35,7 +35,7 @@ def test_load_error
3535

3636
assert_empty out
3737

38-
no_such_path = File.join @tempdir, 'no_such_test_file'
38+
no_such_path = File.join @tempdir, "no_such_test_file"
3939

4040
expected =
4141
/\A\n

test/test_rake_rules.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TestRakeRules < Rake::TestCase
1111
OBJFILE = "abc.o"
1212
FOOFILE = "foo"
1313
DOTFOOFILE = ".foo"
14-
MINFILE = 'abc.min.o'
14+
MINFILE = "abc.min.o"
1515

1616
def setup
1717
super
@@ -400,7 +400,7 @@ def obj.find_prereq(task_name)
400400

401401
def test_works_with_chained_extensions_in_rules
402402
create_file(OBJFILE)
403-
rule('.min.o' => ['.o']) do |t|
403+
rule(".min.o" => [".o"]) do |t|
404404
@runs << t.name
405405
assert_equal OBJFILE, t.source
406406
assert_equal MINFILE, t.name

0 commit comments

Comments
 (0)