lib/rubocop/cop/rspec/example_starting_character.rb in gitlab-styles-10.0.0 vs lib/rubocop/cop/rspec/example_starting_character.rb in gitlab-styles-10.1.0

- old
+ new

@@ -75,10 +75,10 @@ corrector.replace(docstring, replacement_text(node)) end end def docstring(node) - expr = node.loc.expression + expr = node.source_range Parser::Source::Range.new( expr.source_buffer, expr.begin_pos + 1, expr.end_pos - 1