Skip to content

Commit 87e38e8

Browse files
committed
(CONT-807) Correct Style/TrailingCommaInArrayLiteral
1 parent 089e018 commit 87e38e8

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

lib/puppetlabs_spec_helper/module_spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def verify_contents(subject, title, expected_lines)
2929
SimpleCov.formatters = [
3030
SimpleCov::Formatter::HTMLFormatter,
3131
SimpleCov::Formatter::Console,
32-
SimpleCov::Formatter::Codecov,
32+
SimpleCov::Formatter::Codecov
3333
]
3434
SimpleCov.start do
3535
track_files 'lib/**/*.rb'

lib/puppetlabs_spec_helper/rake_tasks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
'class_parameter_defaults',
173173
'disable_autoloader_layout',
174174
'documentation',
175-
'single_quote_string_with_variables',
175+
'single_quote_string_with_variables'
176176
]
177177

178178
puppet_lint_disable_checks.each do |check|

lib/puppetlabs_spec_helper/tasks/check_symlinks.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ class CheckSymlinks
99
DEFAULT_IGNORED = [
1010
'/.git/',
1111
'/.bundle/',
12-
'/vendor/',
12+
'/vendor/'
1313
].freeze
1414

1515
IGNORE_LIST_FILES = [
1616
'.pdkignore',
17-
'.gitignore',
17+
'.gitignore'
1818
].freeze
1919

2020
def check(dir = Dir.pwd)

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
SimpleCov.formatters = [
99
SimpleCov::Formatter::HTMLFormatter,
1010
SimpleCov::Formatter::Console,
11-
SimpleCov::Formatter::Codecov,
11+
SimpleCov::Formatter::Codecov
1212
]
1313
SimpleCov.start do
1414
track_files 'lib/**/*.rb'

spec/unit/puppetlabs_spec_helper/tasks/check_symlinks_spec.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
let(:test_files) do
3232
[
3333
File.join(Dir.pwd, 'files', 'a_file.pp'),
34-
File.join(Dir.pwd, 'files', 'another_file.pp'),
34+
File.join(Dir.pwd, 'files', 'another_file.pp')
3535
]
3636
end
3737

@@ -43,7 +43,7 @@
4343
context 'when there is a symlink present' do
4444
let(:test_files) do
4545
[
46-
File.join(Dir.pwd, 'files', 'a_file.pp'),
46+
File.join(Dir.pwd, 'files', 'a_file.pp')
4747
]
4848
end
4949

@@ -63,7 +63,7 @@
6363
context 'when there are symlinks under .git/' do
6464
let(:test_files) do
6565
[
66-
File.join(Dir.pwd, 'files', 'a_file.pp'),
66+
File.join(Dir.pwd, 'files', 'a_file.pp')
6767
]
6868
end
6969

@@ -81,7 +81,7 @@
8181
context 'when there are symlinks under .bundle/' do
8282
let(:test_files) do
8383
[
84-
File.join(Dir.pwd, 'files', 'a_file.pp'),
84+
File.join(Dir.pwd, 'files', 'a_file.pp')
8585
]
8686
end
8787

@@ -99,7 +99,7 @@
9999
context 'when there are symlinks under vendor/' do
100100
let(:test_files) do
101101
[
102-
File.join(Dir.pwd, 'files', 'a_file.pp'),
102+
File.join(Dir.pwd, 'files', 'a_file.pp')
103103
]
104104
end
105105

@@ -121,7 +121,7 @@
121121

122122
let(:test_files) do
123123
[
124-
File.join(Dir.pwd, 'files', 'a_file.pp'),
124+
File.join(Dir.pwd, 'files', 'a_file.pp')
125125
]
126126
end
127127

@@ -145,7 +145,7 @@
145145

146146
let(:test_files) do
147147
[
148-
File.join(Dir.pwd, 'files', 'a_file.pp'),
148+
File.join(Dir.pwd, 'files', 'a_file.pp')
149149
]
150150
end
151151

spec/unit/puppetlabs_spec_helper/tasks/check_test_file_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
let(:test_files) do
1515
[
1616
File.join(Dir.pwd, 'tests', 'an_example.pp'),
17-
File.join(Dir.pwd, 'tests', 'deep', 'directory', 'structure', 'another_example.pp'),
17+
File.join(Dir.pwd, 'tests', 'deep', 'directory', 'structure', 'another_example.pp')
1818
]
1919
end
2020

0 commit comments

Comments
 (0)