From 1bbd15d25ac9d52d41fb3440660dd9c0d0956215 Mon Sep 17 00:00:00 2001 From: hoshinotsuyoshi Date: Wed, 13 Sep 2023 21:57:10 +0900 Subject: [PATCH] Fix some typos --- spec/rubocop/cop/grep/grep_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/rubocop/cop/grep/grep_spec.rb b/spec/rubocop/cop/grep/grep_spec.rb index f32b083..889f7b0 100644 --- a/spec/rubocop/cop/grep/grep_spec.rb +++ b/spec/rubocop/cop/grep/grep_spec.rb @@ -24,14 +24,14 @@ RUBY end - it 'does not register an offense when the regexp does not matche' do + it 'does not register an offense when the regexp does not match' do expect_no_offenses(<<~RUBY) FOO bar RUBY end - it 'does not register an office when the regexp matches in a comment' do + it 'does not register an offence when the regexp matches in a comment' do expect_no_offenses(<<~RUBY) # foo RUBY