lib/rubocop/cop/capybara/mixin/css_attributes_parser.rb in rubocop-capybara-2.20.0 vs lib/rubocop/cop/capybara/mixin/css_attributes_parser.rb in rubocop-capybara-2.21.0

- old
+ new

@@ -14,10 +14,10 @@ @bracket_count = 0 end # @return [Array<String>] def parse # rubocop:disable Metrics/MethodLength - @selector.chars do |char| + @selector.each_char do |char| if char == '[' on_bracket_start elsif char == ']' on_bracket_end elsif @state == :inside_attr