Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj authored and bbatsov committed Dec 30, 2019
1 parent 8c792d1 commit c0774c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/rubocop/cop/style/frozen_string_literal_comment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
RUBY
end

it 'accepts a dsabled frozen string literal below an encoding comment' do
it 'accepts a disabled frozen string literal below an encoding comment' do
expect_no_offenses(<<~RUBY)
# encoding: utf-8
# frozen_string_literal: false
Expand Down Expand Up @@ -375,7 +375,7 @@
RUBY
end

it 'registers an offense for a dsabled frozen string literal below ' \
it 'registers an offense for a disabled frozen string literal below ' \
'an encoding comment' do
expect_offense(<<~RUBY)
# encoding: utf-8
Expand Down Expand Up @@ -500,7 +500,7 @@
RUBY
end

it 'removes a dsabled frozen string literal below an encoding comment' do
it 'removes a disabled frozen string literal below an encoding comment' do
new_source = autocorrect_source(<<~RUBY)
# encoding: utf-8
# frozen_string_literal: false
Expand Down

0 comments on commit c0774c7

Please sign in to comment.