Skip to content

Commit c95eafd

Browse files
committed
fix: got rid of one more endline_no
1 parent fa46515 commit c95eafd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cls/TestCoverage/Utils.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ ClassMethod GetPythonMethodMapping(pDocumentText) [ Language = python ]
477477
method_map[node.name] = (start_line, end_line)
478478

479479
self.current_function = node.name
480-
for lineno in range(node.lineno, node.end_lineno + 1):
480+
for lineno in range(node.lineno, self.get_end_line(node) + 1):
481481
line_function_map[lineno-1] = self.outermost_function
482482

483483
self.generic_visit(node)

0 commit comments

Comments
 (0)