Skip to content

Commit

Permalink
refactor: remove Layout/SpaceAroundOperators rubocop todos
Browse files Browse the repository at this point in the history
  • Loading branch information
thestelz committed Oct 14, 2022
1 parent e677090 commit c8c734f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .rubocop_todo.yml
Expand Up @@ -6,15 +6,6 @@
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
# SupportedStylesForExponentOperator: space, no_space
Layout/SpaceAroundOperators:
Exclude:
- 'test/common/polygon_tests.rb'
- 'test/spherical_geographic/polygon_test.rb'

# Offense count: 4
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
Expand Down
2 changes: 1 addition & 1 deletion test/spherical_geographic/polygon_test.rb
Expand Up @@ -26,7 +26,7 @@ def test_centroid
point3 = @factory.point(1, 0)
exterior = @factory.linear_ring([point1, point2, point3, point1])
polygon = @factory.polygon(exterior)
assert_equal @factory.point(1.0/3.0, 1.0/3.0), polygon.centroid
assert_equal @factory.point(1.0 / 3.0, 1.0 / 3.0), polygon.centroid
end

def test_centroid_srid
Expand Down

0 comments on commit c8c734f

Please sign in to comment.