Skip to content

Commit 84840b8

Browse files
committed
Fix typos
This commit fixes the following build error: ``` Check spelling of all files with codespell: spec/rubocop/cop/style/redundant_exception_spec.rb#L120 valiable ==> variable, valuable, available Check spelling of all files with codespell: spec/rubocop/cop/style/redundant_exception_spec.rb#L125 valiable ==> variable, valuable, available ``` https://github.com/rubocop/rubocop/actions/runs/6484903585
1 parent 873cb9f commit 84840b8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

spec/rubocop/cop/style/redundant_exception_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@
115115
RUBY
116116
end
117117

118-
it 'registers an offense for raise with RuntimeError, valiable' do
118+
it 'registers an offense for raise with RuntimeError, variable' do
119119
expect_offense(<<~RUBY)
120-
raise RuntimeError, valiable
120+
raise RuntimeError, variable
121121
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Redundant `RuntimeError` argument can be removed.
122122
RUBY
123123

124124
expect_correction(<<~RUBY)
125-
raise valiable.to_s
125+
raise variable.to_s
126126
RUBY
127127
end
128128
end

0 commit comments

Comments
 (0)