Skip to content

Commit c3b99d3

Browse files
committed
Remove extra whitespace
1 parent 78499d5 commit c3b99d3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spec/rubocop/cop/rspec/hook_argument_spec.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
expect_offense(<<-RUBY)
5656
before(:each) { true }
5757
^^^^^^^^^^^^^ Omit the default `:each` argument for RSpec hooks.
58-
after(:each) { true }
58+
after(:each) { true }
5959
^^^^^^^^^^^^ Omit the default `:each` argument for RSpec hooks.
6060
around(:each) { true }
6161
^^^^^^^^^^^^^ Omit the default `:each` argument for RSpec hooks.
62-
config.after(:each) { true }
62+
config.after(:each) { true }
6363
^^^^^^^^^^^^^^^^^^^ Omit the default `:each` argument for RSpec hooks.
6464
RUBY
6565
end
@@ -68,7 +68,7 @@
6868
expect_offense(<<-RUBY)
6969
before(:example) { true }
7070
^^^^^^^^^^^^^^^^ Omit the default `:example` argument for RSpec hooks.
71-
after(:example) { true }
71+
after(:example) { true }
7272
^^^^^^^^^^^^^^^ Omit the default `:example` argument for RSpec hooks.
7373
around(:example) { true }
7474
^^^^^^^^^^^^^^^^ Omit the default `:example` argument for RSpec hooks.
@@ -95,7 +95,7 @@
9595
it 'does not flag :each for hooks' do
9696
expect_no_offenses(<<-RUBY)
9797
before(:each) { true }
98-
after(:each) { true }
98+
after(:each) { true }
9999
around(:each) { true }
100100
config.before(:each) { true }
101101
RUBY
@@ -105,7 +105,7 @@
105105
expect_offense(<<-RUBY)
106106
before(:example) { true }
107107
^^^^^^^^^^^^^^^^ Use `:each` for RSpec hooks.
108-
after(:example) { true }
108+
after(:example) { true }
109109
^^^^^^^^^^^^^^^ Use `:each` for RSpec hooks.
110110
around(:example) { true }
111111
^^^^^^^^^^^^^^^^ Use `:each` for RSpec hooks.
@@ -135,7 +135,7 @@
135135
it 'does not flag :example for hooks' do
136136
expect_no_offenses(<<-RUBY)
137137
before(:example) { true }
138-
after(:example) { true }
138+
after(:example) { true }
139139
around(:example) { true }
140140
config.before(:example) { true }
141141
RUBY
@@ -145,7 +145,7 @@
145145
expect_offense(<<-RUBY)
146146
before(:each) { true }
147147
^^^^^^^^^^^^^ Use `:example` for RSpec hooks.
148-
after(:each) { true }
148+
after(:each) { true }
149149
^^^^^^^^^^^^ Use `:example` for RSpec hooks.
150150
around(:each) { true }
151151
^^^^^^^^^^^^^ Use `:example` for RSpec hooks.

0 commit comments

Comments
 (0)