test/parse_helper.rb in parser-1.2.0 vs test/parse_helper.rb in parser-1.3.0
- old
+ new
@@ -173,10 +173,10 @@
next if line.empty?
if (match = SOURCE_MAP_DESCRIPTION_RE.match(line))
begin_pos = match[1].length
- end_pos = begin_pos + match[2].length - 1
+ end_pos = begin_pos + match[2].length
source_map_field = match[3]
if match[5]
ast_path = match[5].split('.')
else