Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Nov 23, 2022
1 parent 870dad0 commit 87abc2c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ Naming/InclusiveLanguage:
offence:
Suggestions:
- offense
does_not_registers:
Suggestions:
- does_not_register

Style/FormatStringToken:
# Because we parse a lot of source codes from strings. Percent arrays
Expand Down
4 changes: 2 additions & 2 deletions test/rubocop/cop/minitest/assert_includes_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_do_something
RUBY
end

def test_does_not_registers_offense_when_using_assert_with_non_include_method
def test_does_not_register_offense_when_using_assert_with_non_include_method
assert_no_offenses(<<~RUBY)
class FooTest < Minitest::Test
def test_do_something
Expand All @@ -105,7 +105,7 @@ def test_do_something
RUBY
end

def test_does_not_registers_offense_when_using_assert_with_local_variable
def test_does_not_register_offense_when_using_assert_with_local_variable
assert_no_offenses(<<~RUBY)
class FooTest < Minitest::Test
def test_do_something
Expand Down
4 changes: 2 additions & 2 deletions test/rubocop/cop/minitest/assert_predicate_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_do_something
RUBY
end

def test_does_not_registers_offense_when_using_assert_with_non_predicate_method
def test_does_not_register_offense_when_using_assert_with_non_predicate_method
assert_no_offenses(<<~RUBY)
class FooTest < Minitest::Test
def test_do_something
Expand All @@ -122,7 +122,7 @@ def test_do_something
RUBY
end

def test_does_not_registers_offense_when_using_assert_with_local_variable
def test_does_not_register_offense_when_using_assert_with_local_variable
assert_no_offenses(<<~RUBY)
class FooTest < Minitest::Test
def test_do_something
Expand Down
2 changes: 1 addition & 1 deletion test/rubocop/cop/minitest/refute_includes_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_do_something
RUBY
end

def test_does_not_registers_offense_when_using_refute_with_non_include_method
def test_does_not_register_offense_when_using_refute_with_non_include_method
assert_no_offenses(<<~RUBY)
class FooTest < Minitest::Test
def test_do_something
Expand Down
4 changes: 2 additions & 2 deletions test/rubocop/cop/minitest/refute_predicate_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def test_do_something
RUBY
end

def test_does_not_registers_offense_when_using_refute_with_non_predicate_method
def test_does_not_register_offense_when_using_refute_with_non_predicate_method
assert_no_offenses(<<~RUBY)
class FooTest < Minitest::Test
def test_do_something
Expand All @@ -122,7 +122,7 @@ def test_do_something
RUBY
end

def test_does_not_registers_offense_when_using_refute_with_local_variable
def test_does_not_register_offense_when_using_refute_with_local_variable
assert_no_offenses(<<~RUBY)
class FooTest < Minitest::Test
def test_do_something
Expand Down

0 comments on commit 87abc2c

Please sign in to comment.