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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy